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 220022 - jQuery code completion not context sensitive
Summary: jQuery code completion not context sensitive
Status: NEW
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.3
Hardware: PC Windows 7
: P3 normal with 1 vote (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-12 18:08 UTC by peppertech
Modified: 2012-11-02 09:36 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
IDE log (283.13 KB, text/plain)
2012-10-12 18:08 UTC, peppertech
Details
screenshot of wrong jQuery code completion options (16.02 KB, image/png)
2012-10-12 18:10 UTC, peppertech
Details

Note You need to log in before you can comment on or make changes to this bug.
Description peppertech 2012-10-12 18:08:15 UTC
Product Version = NetBeans IDE Dev (Build web-main-8854-on-20121012)
Operating System = Windows 7 version 6.1 running on amd64
Java; VM; Vendor = 1.7.0_07
Runtime = Java HotSpot(TM) 64-Bit Server VM 23.3-b01

Not sure if this is really a regression bug, or just the new expected behavior.

In previous builds, if I typed  $ and pressed Ctrl-Space I would get a completed $( ) with the cursor in the middle of the parens.  Typing Ctrl-Space again, showed me a list of all the element ID's so I could immediately select the element that I wanted to work with. 

In the most recent NB Dev builds, I have to type a quote first, before I get that list of element IDs.  Just typing Ctrl-Space a second time, gives me a list like the one shown in the attached screenshot.

I would prefer the original method of not requireing the single or double quotes.
Comment 1 peppertech 2012-10-12 18:08:23 UTC
Created attachment 125880 [details]
IDE log
Comment 2 peppertech 2012-10-12 18:10:02 UTC
Created attachment 125881 [details]
screenshot of wrong jQuery code completion options
Comment 3 Petr Pisl 2012-10-22 11:46:30 UTC
Unfortunately I had to remove the code completion without the quotes. There were many problems with this. So I have decided to remove this possibility. For NB 7.3 I'm not going to fix it, too much work. I change this issue into enhancement to remember it in the future.