views:

340

answers:

0

I can't get Netbeans to auto-complete my selectors for JQuery, example:

<a id="hello" href="#">Hello</a>
<script type="text/javascript">
    $("|").hide();
</script>

As far as i understand the documentation at this point it should show the tags available on the page when i press control+space at the | position, but instead displays no suggestions. Links [1] and [2] shows clearly that this has been implemented. I have not tried prototype, link [2] shows that JQuery support has been added as well.

The auto-complete of functions works perfectly, with the embedded library of JQuery 1.4.2, it is only the selector auto-complete that does not work. Any suggestions?

[1] http://wiki.netbeans.org/JavaScript#Embedded_Completion

[2] http://wiki.netbeans.org/JavaScript#Recently_Added

Product Version: NetBeans IDE 6.8 (Build 200912041610)
Java: 1.6.0_18; Java HotSpot(TM) Client VM 16.0-b13
System: Windows XP version 5.1 running on x86; Cp1252; en_US (nb)