arunnair85 / jsdt-jquery

Automatically exported from code.google.com/p/jsdt-jquery
0 stars 0 forks source link

Work with "jQuery" but not "$" #3

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. DO work: jQuery('a').add...
2. DO NOT work: $('a').add...
3.

What is the expected output? What do you see instead?
 - Expected: Code Assist displayed with "$" (E.g: add(), addClass(),...)
 - Happened: "No completions available."

What version of the product are you using? On what operating system?
 - OS: Windows XP SP2 Pro
 - JDK: 7.0
 - Eclipse: Indigo (3.7)
 - jQuery: 1.6.2
 - jQuery Doc: 1.6

Please provide any additional information below.
None

Original issue reported on code.google.com by michaelb...@gmail.com on 30 Aug 2011 at 10:24

Attachments:

GoogleCodeExporter commented 9 years ago
JSDT jQuery version 1.0.2

Original comment by michaelb...@gmail.com on 30 Aug 2011 at 10:24

GoogleCodeExporter commented 9 years ago
Did you uncheck the "No conflict" box? Checking "No conflict" makes "$" 
disappear. See also http://docs.jquery.com/Using_jQuery_with_Other_Libraries

Original comment by philippe...@gmail.com on 8 Oct 2011 at 8:16

GoogleCodeExporter commented 9 years ago
I have the same issue. I did uncheck the "No conflict". And it's worse, because 
only "jQuery." works, not "jQuery('#something')".....

Windows 7, Eclipse 64 bit 3.7, plugin version 1.0.2

Original comment by mas...@smartycode.com on 17 Oct 2011 at 10:07

GoogleCodeExporter commented 9 years ago
Can you try version 1.1? That should fix "jQuery('#something')" but break 
"jQuery.". I know this sucks but I guessed that's we more useful half (I'm 
looking for a solution).

Original comment by philippe...@gmail.com on 29 Oct 2011 at 4:02

GoogleCodeExporter commented 9 years ago
on my version (1.6.0) eclipse juno $("a") works (without noConflict checked)... 
jQuery("a") does not work in either way...

Original comment by falk.aar...@gmail.com on 5 Sep 2013 at 9:42