Also, if I use auto-completions for 'body', 'alert()' it will pre-pend these with the correct object - 'document.body' etc.
That is, if I use
mywindow.ale // it will complete as..
mywindow.alert('message here') // but
ale // will complete as..
Optional arguments appear as , someoption]. When highlighted either press Delete or over-type it, re-instating the comma and space.
There is a list of css properties in the list but their trigger is preceded by an underscore _ so that they don't clutter the main list. That is, entering an underscore will reduce the list largely to these css properties, but it is not actually necessary to type the underscore.
Personally, I don't use '.' as a trigger - this would be too intrusive, and I tweaked the auto-complete delay setting so the completions don't pop up too quickly.
AndyJS.zip (10.1 KB)