NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
jQuery code hinting


Joined: 21 Aug 2010
Posts: 6
Reply with quote
So I really dig the new javascript code hinting how about easy jQuery integration. That would be sweet. I think it would be a great library to support. Love the new IDE 6.0 Smile
View user's profileFind all posts by orchid1Send private message


Joined: 07 Jun 2011
Posts: 3
Reply with quote
Sign me up for jQuery integration!

Jitse
View user's profileFind all posts by djitszSend private message


Joined: 09 Aug 2006
Posts: 26
Reply with quote
+1
View user's profileFind all posts by mike_wainSend private message
jQuery intergration


Joined: 04 Feb 2008
Posts: 21
Location: Nottingham UK
Reply with quote
Count me in for this aswell.

As we are going down the HTML5 route how about jQuery Mobile also. May be a simple addition to the standard jQuery.

Waiting patiently !!
JP
View user's profileFind all posts by Jonathan_ParkerSend private messageVisit poster's website


Joined: 08 Dec 2008
Posts: 35
Reply with quote
+1

This should be something that we can add on our own. Can there be some added functionality where we can add the libs ourselves rather than having it built in by the dev team?
View user's profileFind all posts by radi8Send private message
Site Admin

Joined: 13 Jul 2003
Posts: 8334
Reply with quote
did you try v6? In this version code completion recognizes jQuery methods. All you need is to make sure that jQuery module is somewhere in the project.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website
Mootools


Joined: 30 May 2010
Posts: 8
Reply with quote
Does this work with Mootools library as well?
View user's profileFind all posts by kevincamSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8334
Reply with quote
I didn't try, but it should work. Just add mootools directory into the project - either directly into the tree or as an additional directory, then check Code Explorer on JS tab. The classes you see there, will be used in code completion/find declaration/etc

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website
Tried v6, but there's no code completion for jquery!


Joined: 10 Sep 2011
Posts: 8
Reply with quote
dmitri wrote:
did you try v6? In this version code completion recognizes jQuery methods. All you need is to make sure that jQuery module is somewhere in the project.


I have the latest version installed, but I can't see the code completion for jQuery methods. Perhaps that's because I have the minified version in my project?
View user's profileFind all posts by lava.caballeroSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8334
Reply with quote
Did you place jquery js file into the project?
It's what you have to do.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 10 Sep 2011
Posts: 8
Reply with quote
dmitri wrote:
Did you place jquery js file into the project?
It's what you have to do.


Obviously!!! I've tried putting either the minified and the standard versions one at a time / both at the same time, and in neither case the popup shows when I type the standard way ~ $('<selector>').method(...)
View user's profileFind all posts by lava.caballeroSend private message


Joined: 10 Sep 2011
Posts: 8
Reply with quote
lava.caballero wrote:
Obviously!!! I've tried putting either the minified and the standard versions one at a time / both at the same time, and in neither case the popup shows when I type the standard way ~ $('<selector>').method(...)


Wait a second... I was using jQuery version 1.5 ...I've upgraded the file to the latest one (1.6.4) and now it is working! I've used the full version of the script. I don't get any hints in the popup (yeah, it's not commented using xDoc methodology), but at least I get the functions, methods and the parameters as they're defined in the script.

So, in short: YES, jQuery completion is supported in version 6.
View user's profileFind all posts by lava.caballeroSend private message
jQuery code hinting
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 2  

  
  
 Reply to topic