PDA

View Full Version : Make .sah files to be treated as .js files for language/syntax checking



bqgblllbze
10-17-2015,
I need to add treat files with the .sah file extension as though they were in the .js file extension for syntax checking, etc.
This is the SahiScript file extension, and it is essentially javascript.
Can someone help me?

bradasisss
10-18-2015,
Open Preferences - File Associations and create a new pattern: *.sah, Language: Javascript. Then re-open your sah files and they should get JS syntax checking.

Bradleypl
10-20-2015,
Thank you so much!

BradleyHype
10-21-2015,
If you have time, is there a way to do this:
How can I edit the function names?
Ex.
In Sahi the "alert()" has been changed to _alert()

BradlyCand
10-22-2015,
You can't do that without creating a new language for Komodo.