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.
In 6.0M8, smart completion and normal completion are merged, this somehow raise anoth issue. For example, if I type: "String s = new ", then smart-completion will automatically add "String s = new String(", because there is only one smart candidate. But now with M8, smart completion are merged in to normal completion, it will pop-up a whole list.(the pop-up is annoying because it needs a delay, swing problem). So my suggest is either: 1) Adding a shortcut/freature to "add smart completion with the first candidate", just like google's "I am feeling lucky" or 2) Adding a shortcut/feature to "add next completion" and behaving like "Insert next match world", which means we can use the shortcut to cycle through the completion candidates.
I personally don't think we want more shortcuts for code completion. IIRC we used to have three shortcuts and managed to bring their number down to one. The reason for not having different shortcuts is that when users invoke CC they don't know and don't want to think about the context, where CC was invoked, in order to guess what shortcut they should use to get the right results. The current (M8) state of CC was implemented as a response to the issue #95877. I am not sure how big the delay in showing the CC's popup window is on your machine, neither I am sure that it is (only) a swing issue. We might need to do some measurements and classify this as a performance issue.
Since this is highly java-specific reassigning to java for further evaluation.
hi, in case that we don't want to add another shortcut I would like the method 2, i.e. cycling through the candidates. and adding an choise in options to select whether using pop-up or cycling. pop-up is not extremely slow in current swing, but does really affect the coding quite badly. and cyclying is more nature to emacs-user.
I guess you can still do Ctrl+Alt+SPACE instead of two Ctrl+SPACE presses. It's just not advertised anywhere AFAIK which should IMHO be improved.