I’ve attached my completed version of this file. To summarize:
You can rename the file and save it in \Packages\JavaScript;
Don’t type your variable name - instead, type a few letters for the type of object it is (Win, Elem, etc.), or from the method you wish to use, or a combination of these two;
Press TAB (or Enter) to accept the completion;
Type your variable name (or Tab to accept the default) and continue to press Tab to fill in any other arguments;
When an argument is shown like ‘, this]’ it is optional and you can press Delete to remove it;
If you type ‘style._’ (or an underscore at any time) then the underscore will trigger a list of css properties. Again, you can just type a few letters of the property (without needing to type the underscore).
If you type your variable name followed by a dot ‘.’ then the completion list will only really be useful for standard methods, functions, events, css properties. (If you choose, for example, Window.alert(), then you’ll end up with ‘yourVariable.window.alert()’, and you’ll have to press Delete twice to correct it.)
The list is **almost **complete . In particular, it doesn’t include HTML5 objects other than those related to Canvas.
Good luck! Andy. (I might produce a simplified version of this…)
AndyJSComps.zip (10.4 KB)