Can't get the offline documentation of jQuery in PHPStorm6

Greetings,


I work with PHPStorm6 and I can't get the offline documentation of jquery.


I work a lot with this librairy and I configure the IDE regarding steps given in these articles
http://blog.jetbrains.com/webide/2010/11/working-with-javascript-libraries-in-phpstorm-webstorm/
http://blog.jetbrains.com/webide/2011/04/jquery-offline-doc/


But I can't get the offline documentation yet.


Please help me, I really need it, I used it well in NetBeans7.3 but am in love with PHPStrom since I have switched to him.


Thank you in advance :)

PS: The current version of jquery I use is the 1.9.1 version

10 comments
Comment actions Permalink

Hello!

what steps did you try? Do you have JQuery configured as a custom library, or did you use 'Download' button in Settings/javaScript/Libraries to download and install it? What documentation URL do you use? the screenshot of your settings + the steps you have tried might be helpful

Best regards,
Lena

0
Comment actions Permalink

Hi Lena,

Thank you for your response :)

I join the screenshot you ask. i download the jquery librairy and the documentation for an offline usage but it still won't work.

What can I do to get rid of that?

Thank you :)



Attachment(s):
jquery.jpg
0
Comment actions Permalink

Thanks for update! The configuration looks ok..
Is the quick documentation not working for some certain function(s), or there are no functions it works for? Does the completion/resolving work for JQuery functions? Some screenshots tyhat show up your problem would be helpful


Best regards,
Lena

0
Comment actions Permalink

Hi,

Thank you Lena,

The completions doesn't work at all for jQuery functions, When I press Ctrl+Q, the pop up show nothing as you can see in the screenshot.

What can I do to get rid of that, It's work perfectly fine in Netbeans but I don't want to switch there.

Thank you for your help! :)



Attachment(s):
no_doc.jpg
0
Comment actions Permalink

hmm... When you put cursor on slideToggle() and hit Ctrl+b, what file(s) will be opened?

0
Comment actions Permalink

It opens the jquery file I add in my project. (before the end of the body tag <script src="../../Dependencies/js/jquery-1.9.1.js"></script>)


0
Comment actions Permalink

Seems that you have at least 2 JQuery libraries configured for your project: the one you have downloaded documentation for (~\.WebIde60\system\extLibs\http_code.jquery.com_jquery-1.9.1.js ) and the one referenced in your body tag (../../Dependencies/js/jquery-1.9.1.js). The latter 'wins', and you can't see your docs... Just a supposition :) Please, attach the screenshot of your Settings/Javascript/Libraries dialog

Best regards,
Lena

0
Comment actions Permalink

Yes I have two jquery librairies in my project.

But how can I refer to the one which is in the External Library in my HTML file ?

I enter the full path but it won't recognize it (<script src="C:\Users\Administrator\.WebIde60\system\extLibs\http_code.jquery.com_jquery-1.9.1.js"></script>)

Thank you for your help!



Attachment(s):
js_library.jpg
0
Comment actions Permalink

Thanks for clearing this up!

>I enter the full path but it won't recognize it (<script  src="C:\Users\Administrator\.WebIde60\system\extLibs\http_code.jquery.com_jquery-1.9.1.js"></script>)

Try changing it to
<script  src="file:///C:/Users/Administrator/.WebIde60/system/extLibs/http_code.jquery.com_jquery-1.9.1.js"></script>

Note that you should not refer to your WebStorm external library in your HTML - a link in HTML is for your browser, and external libraries in WebStorm are for WebStorm (for error highlighting, completion, quick doc, etc).


Best regards,
Lena

0
Comment actions Permalink

Hi,

I changed the path and it still won't work, don't know how to do for figuring this out :(

Thank you anyway for your help :)

0

Please sign in to leave a comment.