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.
Product Version = NetBeans IDE 7.4 (Build 201310111528) Operating System = Windows 7 version 6.1 running on amd64 Java; VM; Vendor = 1.7.0_40 Runtime = Java HotSpot(TM) 64-Bit Server VM 24.0-b56 $(document).ready(function() { $('#switcher-large').on('click', function (){ $('body').addClass('large'); }); }); with this code: typing ( 'cli and pressing ctrl-spacebar didn't invoke any code completion also you have to enter the opening { and after pressing enter you have to enter the final ;
Created attachment 143499 [details] IDE log
Thank you for reporting. Ad no completion for "cli", this is not supported I believe (if you mean the "click" in first parameter of on()). Editor does not know that first parameter of on() call is event. Ad { and ; Could you please describe step by step to reproduce it (what do you type and what do you expect to complete)? Thank you in advance
From reporter's email: $(document).ready(function() { } ) ; after typing the first { after function() and pressing enter, I would expect the editor to complete the code block by automatically typing } ) ;
Reproducible, it autocompletes the closing }, but not ); It could be useful