Using ST3, when I open a new file, change it to HTML type (bottom-right corner), enter some HTML and javascript, when I type ‘document.g’, I get nice autocompletion options that include getElement…, and if I pick one of them, the resulting text (eg., document.getElementById) is highlighted in blue. Great.
However, if I type ‘document.q’, I don’t get any autocompletion. I expected querySelector… If I type document.querySelector(), only ‘document’ is highlighted in blue (querySelector is white).
I’m relatively new to javascript, but I thought querySelector is, these days, as much part of things as getElementById. So I’m wondering if I’m misunderstanding something.
I believe I’ve got the latest ST3 (build 3083).
(I’m ‘kicking tires’ on a number of editors and IDEs.)