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

Summary: JQuery - autocompletion is performed instead of simple completion
Product: javascript Reporter: Vladimir Riha <vriha>
Component: EditorAssignee: Petr Pisl <ppisl>
Status: NEW ---    
Severity: normal CC: vriha
Priority: P2    
Version: 7.1   
Hardware: PC   
OS: Linux   
Issue Type: ENHANCEMENT Exception Reporter:

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