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 write code I often will use some field in method body before I will declare it. For same cases (ESPECIALLY for constants) would be useful New -> Field action enhancement: On proper token in editor (i.e. correct Java identifier) it would be possible via some shortcut invoke New Field dialog where following items would be prefilled: - name - from written token - type - guessed from context - some modifier - e.g. for uppercase identifier "public static final" modifiers would be offered. Now user could modify thes values, complete initial value if needed and by OK comit changes to source and then continue in coding without jump to place for fields declaration and back...
Type guessing depends on detailed code analysis. The rest... editor folks, aren't you interested ?
Target milestone -> 3.3.1.
Cleaning up before 4.0 planning
Target milestone was changed from 'not determined' to TBD.
This should be addressed by a tasklist module (suggestions feature).
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