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.
Take the following code public void foo(String toto) { to| String bar; ba| } If you press ctrl-space just after "to", code completion doesn't show the method parameter toto. If you press ctrl-space just after "ba", code completion doesn't show the locally declared variable bar neither. I think both should work.
I have no idea if it can help you, but you have also the CTRL-L and CTRL-K combinaison that will propose already type words. in your example, public void foo(String toto) { to| String bar; ba| } CTRL-K after to will display toto CTRL-K after ba will display bar In the following example public void foo(String toto, String totor) { to| } CTRL-K after to will display totor. If you press one more CTRL-K, it will display toto. Maybe it can help you. I use that combinaision each days and just type two or three letters, then ctrl-K and system propose already typed words for you. Now, I am no more afraid to type long variable name because I know that I don't have to type it anew completely.
Set target milestone to TBD
*** This issue has been marked as a duplicate of 18888 ***