This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 235647 - Incomplete completion for jQuery (missing $.post etc)
Summary: Incomplete completion for jQuery (missing $.post etc)
Status: VERIFIED FIXED
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.3.1
Hardware: PC Windows 7
: P2 normal (vote)
Assignee: Petr Pisl
URL:
Keywords: 7.4_HR_FIX
Depends on:
Blocks:
 
Reported: 2013-09-08 05:20 UTC by iluvtr
Modified: 2013-09-16 13:52 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
jQuery Completion bug (70.96 KB, image/png)
2013-09-08 05:20 UTC, iluvtr
Details

Note You need to log in before you can comment on or make changes to this bug.
Description iluvtr 2013-09-08 05:20:20 UTC
Created attachment 139795 [details]
jQuery Completion bug

The jQuery autocompletion doesn't give enough results, for example, I try $.p, 
and it doesn't get promped post method, As you will see in the images the previous version 7.2 is more accurate. I'm a full time jQuery developer and for this reason I don't want to upgrade to 7.3, I think there are many developers suffering from this issue. 

Other problem is: In the 7.2 version I can hit Control Space bar to get the jQuery selectors (ids, classes) and I type some letters and the editor popup keeps open filtering the matched selectors, In 7.3> , I hit Control Space bar to get the jQuery selectors and I type some letters and the popup disappear, so I'm forced to do Ctrl Space bar again and again and again
Comment 1 Vladimir Riha 2013-09-08 10:54:18 UTC
Thank you for reporting but next time please report 2 separate issues instead of mixing several problems in one. 

Issue #1, incomplete code completion, is reproducible.

Issue #2, continuous completion for IDs and classes has been fixed recently (see issue 214978) and will be part of upcoming 7.4
Comment 2 Petr Pisl 2013-09-09 12:46:07 UTC
Fixed in web-main: http://hg.netbeans.org/web-main/

Vlado, I think it would be useful to have this fix in NB 7.4. What do you think? I have found more then 30 function, that was added to the cc by this fix.
Comment 3 Vladimir Riha 2013-09-09 13:06:03 UTC
I agree, it would be useful. Adding keyword and increasing to P2. I'll try it tomorrow in trunk.
Comment 4 Petr Pisl 2013-09-10 06:11:18 UTC
Petr Hejl, could you please review the fix? Thanks
Comment 5 Petr Pisl 2013-09-10 06:20:18 UTC
I'm sorry, the changeset is: http://hg.netbeans.org/web-main/rev/5969bf7dc714
Comment 6 Vladimir Riha 2013-09-10 08:10:28 UTC
Verified in trunk

Product Version: NetBeans IDE Dev (Build 201309100337)
Java: 1.7.0_40; Java HotSpot(TM) Client VM 24.0-b56
Runtime: Java(TM) SE Runtime Environment 1.7.0_40-b43
System: Linux version 3.2.0-48-generic-pae running on i386; UTF-8; en_US (nb)
Comment 7 Petr Hejl 2013-09-10 09:42:06 UTC
The patch looks safe.
Comment 8 Petr Pisl 2013-09-10 11:40:03 UTC
Integrated in releases/release74 branch: http://hg.netbeans.org/releases/rev/a8d0c24426c7
Comment 9 Vladimir Riha 2013-09-16 13:52:08 UTC
Verified in RC1

Product Version: NetBeans IDE 7.4 RC1 (Build 201309152201)
Java: 1.8.0-ea; Java HotSpot(TM) Client VM 25.0-b49
Runtime: Java(TM) SE Runtime Environment 1.8.0-ea-b107
System: Linux version 3.2.0-48-generic-pae running on i386; UTF-8; en_US (nb)