komodokomodoedit

Komodo Edit - how to add code completion to a my files


I am new to Komodo Edit. How can I add IntelliSense to my own files?

For example: myFirst.js that includes auto completion for objects or functions that were defined in mySecond.js?

Also, how can I add auto completion to my CSS file from my HTML file?

Another example: in Visual Studio I put this statement at the beginning of file2.js:

 /// <reference path="../js/file1.js" />

And then I had IntelliSense for file1.js inside file2.js.


Solution

  • Open menu EditPreferencesLanguagesJavaScript and specify directory with your source files.

    Komodo will scan them for information about your functions.