Note that there are some explanatory texts on larger screens.

plurals
  1. PONetbeans JQuery Selector auto-complete
    text
    copied!<p>I can't get Netbeans to auto-complete my selectors for JQuery, example:</p> <pre><code>&lt;a id="hello" href="#"&gt;Hello&lt;/a&gt; &lt;script type="text/javascript"&gt; $("|").hide(); &lt;/script&gt; </code></pre> <p>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.</p> <p>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?</p> <p>[1] <a href="http://wiki.netbeans.org/JavaScript#Embedded_Completion" rel="nofollow noreferrer">http://wiki.netbeans.org/JavaScript#Embedded_Completion</a></p> <p>[2] <a href="http://wiki.netbeans.org/JavaScript#Recently_Added" rel="nofollow noreferrer">http://wiki.netbeans.org/JavaScript#Recently_Added</a></p> <pre><code>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) </code></pre> <p><strong>5 years later update:</strong></p> <p>As of at least version 8.0.2 Netbeans now properly auto-completes jQuery selectors in both php and html pages. I am unsure if this is due to some other changes on the editor engine or they finally caught the discrepancy but either way it works now, yay!</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload