Doesn't auto complete basic built-in JS
Closed this issue · 1 comments
ortonomy commented
Hey there,
I might be doing something wrong, but I followed the instructions to a 'T' for installing and getting up and running, and auto complete is working, but only for more obscure or seemingly random stuff.
Example, from your instructions suggests document.addEv
should autocomplete for document.addEventListener()
, but if you look the screenshot provided, it doesn't even want to autoocomplete document
, let alone addEventListener
:
Any ideas why this might be happening? Why does it not seem to have the full set of javascript available?
marijnh commented
Sounds like you aren't loading the browser defs. Create a .tern-project
file with {"libs": ["browser"]}
in it.