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

Michael Hipp Michael at Hipp.com
Thu Feb 19 18:58:34 MST 2009


Wingware Support wrote:
> 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).

Thanks.

I did File Properties -> File Attributes -> File Type: Bash

And this is what I got. It's green like that all the way down.

Does it get better somehow?

Thanks,
Michael



-------------- next part --------------
A non-text attachment was scrubbed...
Name: Wing_IDE_callerid.wpr_daemon-20090219195053.jpg
Type: image/jpeg
Size: 55414 bytes
Desc: not available
Url : /pipermail/wingide-users/attachments/20090219/41e3dc12/Wing_IDE_callerid.wpr_daemon-20090219195053-0001.jpg


More information about the wingide-users mailing list