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.
When i have the following in the editor ("<cursor>" is the place where my cursor is): String someLongDescription = "a long description"; new Thread(new Runnable() { public void run() { sLD<cursor> } }).start(); Currently, when i press Ctrl+Space at this point, the auto-completion gives me all kinds of suggestions (like SQLData in java.sql), but not the one i want. What i would like, is that the auto-complete feature recognizes i probably want to use "someLongDescription", but forgot to make it final. So ideally it would present "someLongDescription" as the first option, and once chosen, automatically make the variable declaration final too.