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 202539 - JQuery - autocompletion is performed instead of simple completion
Summary: JQuery - autocompletion is performed instead of simple completion
Status: NEW
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.1
Hardware: PC Linux
: P2 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-23 08:41 UTC by Vladimir Riha
Modified: 2011-09-23 09:01 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Riha 2011-09-23 08:41:52 UTC
If I try to invoke cc in $("|").hide(); then the first found ID attribute is autocompleted although classes, ids and html tags should be offered.

<html>
    <head>
        <title></title>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <script type="text/javascript">
            $("").hide();
        </script>
    </head>
    <body>
        <div id="nic"></div>
        <div id="box"></div>
    </body>
</html>


Product Version: NetBeans IDE 7.1 Beta (Build 201109222201)
Java: 1.7.0; Java HotSpot(TM) Client VM 21.0-b17
System: Linux version 2.6.38-11-generic running on i386; UTF-8; en_US (nb)
Comment 1 Petr Pisl 2011-09-23 08:59:47 UTC
This doesn't work so far. Marking as enhancement.
Comment 2 Vladimir Riha 2011-09-23 09:01:53 UTC
Ok, thanks. Based on issue #200276 I thought it works