[wingide-users] Syntax highlighting for sh/bash files
Michael Foord
fuzzyman at voidspace.org.uk
Fri Feb 20 04:32:43 MST 2009
Michael Hipp wrote:
> 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.
Well, Wing has definitely colored your syntax. Isn't that what you
wanted? ;-)
Michael
>
> Does it get better somehow?
>
> Thanks,
> Michael
>
>
>
>
> ------------------------------------------------------------------------
>
>
> ------------------------------------------------------------------------
>
> _________________________________________________
> Wing IDE users list
> http://wingware.com/lists/wingide
More information about the wingide-users
mailing list