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)