Project: JDT
Bug 39023 Create static field quick fix creates an instance field [quick fix]
Reported: 2003-06-17 11:48:45 | Status: resolved fixed

When referencing a class field that doesn't exist, the quick fix to 'create field in type...' creates an instance field, not a static field. e.g. Open quick fix on reference Foo.x when x doesn't exist creates private [type] x; rather than private static [type] x;

Files changed in fix:
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/NewVariableCompletionProposal.java