views:

532

answers:

2

I use netbeans 6.8 beta and when i load .sh (bash) file it's not colored at all. i can add a new file association for the .sh extension but it doesn't seem that there is a known associated mime type.

+2  A: 

I have not tried this myself but you can get shell script support in Netbeans if you install the C/C++ plugin.

Rahul
i already have netbeans packages with everything including c/c++.
ufk
i installed netbeans on my mac and i noticed that it does color bash scripts (.sh files). in my linux box i compiled netbeans from sources. maybe i missed some plugin related flags on compilation (under gentoo). i'll check that out. thanks!
ufk
A: 

This is very odd. I have NB6.8beta installed with the C/C++ plugin. When I open a .sh file I do see syntax high lighting. Quotes strings show up in orange, commands are in blue.

OliBlogger
under tools -> options -> Miscellaneous -> Filesunder file extension sh what is the associated file type (mime) ?
ufk