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.
While doing sanity tests http://wiki.netbeans.org/TS_73_JavaScriptEditor#Test_suite:_Code_Completion No code completion is there. Also when doing Jquery Completion http://wiki.netbeans.org/TS_73_JavaScriptEditor#Test_suite_jQuery No code completion found. May be it's something on my PC because I assume you'd find something like this internally right?
What exactly does not work for you and which build do you use? It seems to be working for me Product Version: NetBeans IDE Dev (Build web-main-8699-on-20120928) Java: 1.7.0; Java HotSpot(TM) 64-Bit Server VM 21.0-b17 System: Linux version 3.5.0-4-generic running on amd64; UTF-8; en_US (nb)
I use this one. Product Version: NetBeans IDE 7.3 Beta (Build 201209232010) Java: 1.7.0_07; Java HotSpot(TM) Client VM 23.3-b01 System: Windows Vista version 6.0 running on x86; Cp1251; en_US (nb) I mean I've tested everything, each line that is marked as Task, not a single time there is completion.
Strange, I don't have this build right now, but just to be sure. Did you uncomment the line when trying code completion? So for instance with this: // TASK - check the function and properties of Math are offered // Maht.| Did you try code completion like this: // TASK - check the function and properties of Math are offered Maht. (please notice missing "//" and "|" which represents cursor position)
(just noticed the typo in Math, will fix the file asap)
Yes of course I did that. And I also noticed the typo and fixed it locally. But code completion still wasn't working. (In reply to comment #3) > Strange, I don't have this build right now, but just to be sure. Did you > uncomment the line when trying code completion? > > So for instance with this: > // TASK - check the function and properties of Math are offered > // Maht.| > > Did you try code completion like this: > // TASK - check the function and properties of Math are offered > Maht. > > (please notice missing "//" and "|" which represents cursor position)
still can't reproduce Product Version: NetBeans IDE 7.3 Beta (Build 201209272333)
Created attachment 125088 [details] Code completion not working Still reproducible with the new beta Product Version: NetBeans IDE 7.3 Beta (Build 201209272333) Java: 1.7.0_07; Java HotSpot(TM) Client VM 23.3-b01 System: Windows Vista version 6.0 running on x86; Cp1251; en_US (nb)
Thanks for the screencast, it's weird that even after you pressed Ctrl+Space that not even "No suggestions" does appear.
Created attachment 125100 [details] Project to reproduce I've figured out today that the problem is in the project. I mean, I've tried in other projects and I don't have this problem. In other projects there is autocomplete. Now for you to reproduce. 1. Unzip the project in its folder 2. Download Sencha Touch 2 SDK and unzip it somewhere http://www.sencha.com/products/touch/download/2.0.1.1/ 3. Add to PHP include path this unzipped SDK and put some broken path to it also. In my case I have the SDK included and also some broken path. (Because I use the project in 2 places I've got two different SDK locations so at a time there will be only 1 valid). 4. Open someJqueryStuff.js and make the editions. The reason is probably because in the included SDK there are a lot of JS files, and when scanning project some error happen(I think) that breaks the autocomplete.
I have found that there is OutOfMemory exception during scanning sencha. I have fix this http://hg.netbeans.org/web-main/rev/a571d908cab6 . So could you please try it in a tomorrow's build? Let me know whether works for you or not. You can also reopen the issue, if will not work. Thanks
Integrated into 'main-golden', will be available in build *201210030002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/a571d908cab6 User: Petr Pisl <ppisl@netbeans.org> Log: #219190 - No code completion for simple JS and also for Jquery
I tried some cc in project with Sencha Touch sources in it and it works for me => verified Product Version: NetBeans IDE 7.3 RC1 (Build 201301212100) Java: 1.7.0_11; Java HotSpot(TM) Client VM 23.6-b04 Runtime: Java(TM) SE Runtime Environment 1.7.0_11-b21 System: Linux version 3.2.0-35-generic-pae running on i386; UTF-8; en_US (nb)