I've a embperl project running, and all the perl-files have an .html extension. Is there a way to tell np++ to use perl-syntax-highlighter for .html file per default? Could not find it in the options and if dont wanna change the highlighting manually every time...
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
i had a kind of a similar problem and the only solution i could find was to recreate the language as a custom language and then edit its associated files. you can copy all the attributes of your language from the two built in language files into the userlangs.xml file. just dont forget to disable the built in version if you do that.
i think the function autocomplete gets a bit messed up if the new language has the same name. so name it something else and rename the autocomplete file to the new name.
but maybe theres a better solution all together?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I've a embperl project running, and all the perl-files have an .html extension. Is there a way to tell np++ to use perl-syntax-highlighter for .html file per default? Could not find it in the options and if dont wanna change the highlighting manually every time...
i had a kind of a similar problem and the only solution i could find was to recreate the language as a custom language and then edit its associated files. you can copy all the attributes of your language from the two built in language files into the userlangs.xml file. just dont forget to disable the built in version if you do that.
i think the function autocomplete gets a bit messed up if the new language has the same name. so name it something else and rename the autocomplete file to the new name.
but maybe theres a better solution all together?