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 8.0 (Build 201403022200) Operating System = Linux version 3.14.1-1-ARCH running on amd64 Java; VM; Vendor = 1.8.0 Runtime = Java HotSpot(TM) 64-Bit Server VM 25.0-b70 this doesn't appear to be source related, as I reloaded netbeans in one case and it fixed it. Hoping that my IDE log sheds light on the issue. Sometimes I'm typing out classes which should receive suggestions and don't. I also had a potentially related issue (which won't be in this log) where the autocomplete was offered, but when selected it deleted the thing instead of completing.
Created attachment 146882 [details] IDE log
Hard to fix without a reproducible test case.
Just ran into this this morning. Auto-complete won't complete class names upon enter. Instead, it blanks the previous input. It will compete them on pressing punctuation. My wild guess is that somehow the enter press is not getting consumed, and is passed on to the editor which overwrites the selected stockinette prefix.
(In reply to petteyg359 from comment #3) > Just ran into this this morning. Auto-complete won't complete class names > upon enter. Instead, it blanks the previous input. It will compete them on > pressing punctuation. My wild guess is that somehow the enter press is not > getting consumed, and is passed on to the editor which overwrites the > selected stockinette prefix. s/stockinette/autocomplete/ Note that it is _only_ class names this affected. Variable names had no problem completing. Also, like bug 207568, the bug seems to resolve itself sporadically.
This seems related to automatic imports. Where normally hitting enter on an auto-completed class name would add that import in addition to auto-completing the typed code, when this bug happens it does neither. Variables and already-imported classes auto-complete without error. Also, all Java runtime classes auto-complete even if they are not already imported. This bug may be rooted in the indexer for project libraries.
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue. Thanks for your cooperation, NetBeans IDE 8.2 Release Boss
Hi , im with the same problem in the 8.2 i add some PHP templates but the completion only show the templates by default.