Home Intro JS Completions - agibsonsw/AndySublime GitHub Wiki
Welcome to the AndySublime wiki! I'm Andy and I've been using the Sublime Text 2 editor for a short while now. It's a beautiful editor, and it has encouraged me to explore areas I'd never considered before: Snippets, completions, tmLanguage, JSON, psLint, Python, etc.
I installed the CodeIntel package and, although I'm sure it's excellent, I wasn't quite satisfied with it's JavaScript functionality. Over a number of intense days I've built (and re-built) a JavaScript completions file. This necessitated me revising (completely) JS - which I haven't used for a while - and to delve into Snippets, tm variables, RegExp, and the JS tmLanguage file.
I'm very happy with the results so far. It will never be a complete list - the file would be too big/unwieldy - but for a single file I believe it to be very functional.
Unfortunately, now that I've completed my work, I'm quite keen to study Python. I'm trying to find bits of JS code that interest me so that I can test my completions more thoroughly, but I'm hoping that users of my file will contribute suggestions and corrections or additions.
I know that if I create a "package" for JavaScript I might be able to make the completions more intelligent. That is, to reduce, and focus, the list of suggestions that appear in the list. However, I believe this might prove a little "daunting" because, in JS, pretty much any property or method can be attached to pretty much any object, he, he.
Regards, Andy.