Reputation: 5238
I love code completion and I want it to work everywhere.
I tried to enable and disable JSHist and JSLint, to use explicit path to static libraries (without {{ STATIC_URL }}
), enable and disable jQuery libraries in configuration, add the files that I use. But there is no effect.
Upvotes: 2
Views: 3022
Reputation: 605
Installing @types/jquery
didn't produce any code completion for me but I've managed to get jQuery recognised:
Download jQuery development version
In File | Settings | Languages & Frameworks | JavaScript | Libraries
click Add
and specify file path to the downloaded jQuery
file
Name it, click OK
$
is now recognised and code completion works
Upvotes: 0
Reputation: 56
You need to open File | Settings | Languages & Frameworks | JavaScript | Libraries, tap Downloads, install "jquery" enter image description here
Upvotes: 4