Reputation: 40886
I am trying to make JQuery 1.8.3
and JQuery UI 1.9.2
project libraries in PhpStorm 2017. When I go to Settings >> Languages & Frameworks >> Javascript >> Libraries, there is a dropdown near the top with two options:
TypeScript community stubs: here I find simple listings for jquery
and jqueryui
with no version information.
Official Libraries: here I find listings for jQuery 2.0.0
and jQuery UI 1.10.2
What's the recommended way to get IDE support for the specific versions of these libraries that I intend to use on my project?
I have downloaded the uncompressed jQuery 1.8.3
file and saved it on disk. Then from Settings >> Languages & Frameworks >> JavaScript >> Libraries I selected Add...
to link to that custom file and the jQuery documentation.
With @LazyOne's help, I was even able to download what are hopefully the right docs from api.jquery.com. However, the results are mixed:
From good...
To poor...
To non-existent...
To errors...
Upvotes: 0
Views: 85
Reputation: 3557
I'm having the same results and this looks like a bug. I've tried the same project in 2016.3.3 and it showed me correct documentation while in 2017.2.3 IDE displays 2 identical links that do not work. You might want to report this at http://youtrack.jetbrains.com/issues/WEB#newissue=yes. This is also looks like a https://youtrack.jetbrains.com/issue/IDEA-77527 regression
Upvotes: 1