Make .sah files to be treated as .js files for language/syntax checking

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?

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.

Thank you so much!

If you have time, is there a way to do this:

How can I edit the function names?
In Sahi the “alert()” has been changed to _alert()

You can’t do that without creating a new language for Komodo.

Is there a way to create a new language based on the template of JS?