[wingide-users] Syntax highlighting for sh/bash files

Wingware Support support at wingware.com
Thu Feb 19 18:43:34 MST 2009


Michael Hipp wrote:
> Does Wing have any capability to syntax highlight (colorize) bash or 
> shell scripts? What about when the filename (in Unix style) has no 
> extension?

Yes, there's a lexer for bash and you can force the file type Wing
uses from Project Properties for a file with the File Type attrib --
set it to "Bash".  If your files are somehow like-named despite lack
of extension you may still be able to set a Files / Extra File Types
preference.  For example "build-*" in the "file extension" column
will match any file name starting with "build-".  If not, you're stuck
doing it file by file as Wing currently does not look into files for
the #! directive for all file types (if only does it for Python files).

-- 

Stephan Deibel
Wingware | Python IDE
Advancing Software Development

www.wingware.com



More information about the wingide-users mailing list