The problem is Komodo intelli-sense doesn't see object methods defined this way:
var App = window.App || {
method: function() {
...
}
}
Typing "App." gives no result.
However, defining an object like below works fine:
var App = {
method: function(){
}
}
How to make autocompletion working at first example pattern?
Komodo has a macro API which can automate switching between the two patterns. Use the Add macro context menu option to create a new macro and paste the following code:
Click the macro in the toolbox to toggle between intellisense mode and visual mode.
As an alternative, a JSDoc comment may work as well.