Menu

#14 Need ability to specify language

open
nobody
5
2012-10-08
2012-10-08
JP Vossen
No

I write a lot of shell scripts that do not end in .sh, so SourceCookifier doesn't work for them. Ideally, it should get the language from the NPP "Language" setting, since that may be manually set to be correct for syntax highlighting. At the very least, SourceCookifier should allow the user to manually override it and set the language, though that would require manually setting the language in two places, which is not ideal.

As far as I know, the FunctionList plugin keyed off of the NPP "Language" setting, since that was all that was needed to make that work, so code should be out there someplace.

Discussion