How to get jQuery to work with IDEA

It's frustrating and I was hoping the 8.0 final will tackle this. The competition does it already.

I have jQuery in the path (in the webapp folder that is) and IDEA does not see it for intellisense suggestions.

Trying the following does not bring the jQuery at all.

$(document).ready(function() { $('').each... }); for instance and the prototype.js suggestions come up. I could care less about progtotype.js and it's in the path only because I use some 3rd party html components.

Also, IDEA suggests a billion items in the dropdown. Even Aptana is able to suggest the parameters of a jquery function.

Any help?

It's frustrating as I was getting ready to renew my license and now really wonder whether I should go Netbeans and be done with it. I've been a faithful paying user since 2002.

1 comment
Comment actions Permalink

Hello Florin,

Please file a JIRA issue at http://www.jetbrains.net/jira. As far as I know
there is currently no specific support for JQuery.

It's frustrating and I was hoping the 8.0 final will tackle this. The
competition does it already.

I have jQuery in the path (in the webapp folder that is) and IDEA does
not see it for intellisense suggestions.

Trying the following does not bring the jQuery at all.

$(document).ready(function() { $('').each... }); for instance and the
prototype.js suggestions come up. I could care less about
progtotype.js and it's in the path only because I use some 3rd party
html components.

Also, IDEA suggests a billion items in the dropdown. Even Aptana is
able to suggest the parameters of a jquery function.

Any help?

It's frustrating as I was getting ready to renew my license and now
really wonder whether I should go Netbeans and be done with it. I've
been a faithful paying user since 2002.

--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0

Please sign in to leave a comment.