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.
This is rather unlikely to happen to anyone - but: In a javascript file i declared to variables: var superiorFoo, superiorBar; When I now type "superior" and use ctrl+space the variables are autocompleted to: supersuperiorBar; and supersuperiorFoo; It only happens when I use the keyword "super". This is probably a reserved word - but it actually messed up my code in real word example ;)
Works for me in 7.4 and Dev. Does it happen anywhere in code, in any file (php, html, js)? If you can reproduce it, could you attach the code here and version of NetBeans? Thank you in advance. Product Version: NetBeans IDE Dev (Build 201310290001) Java: 1.7.0_45; Java HotSpot(TM) Client VM 24.45-b08 Runtime: Java(TM) SE Runtime Environment 1.7.0_45-b18 System: Linux version 3.2.0-48-generic-pae running on i386; UTF-8; en_US (nb)
Created attachment 141623 [details] Example
Here is the version: Product Version: NetBeans IDE 7.4 (Build 201310111528) Java: 1.7.0_21; OpenJDK 64-Bit Server VM 23.7-b01 Runtime: OpenJDK Runtime Environment 1.7.0_21-b02 System: Linux version 3.10-2-amd64 running on amd64; UTF-8; de_DE (nb) I must correct my first report: I happens when I type "super" and then try to autocomplete.
You're right, thanks. Now I can reproduce it Product Version: NetBeans IDE Dev (Build 201310290001) Java: 1.7.0_45; Java HotSpot(TM) Client VM 24.45-b08 Runtime: Java(TM) SE Runtime Environment 1.7.0_45-b18 System: Linux version 3.2.0-48-generic-pae running on i386; UTF-8; en_US (nb)
This seems to be ok in dev version.