Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#366 Enhancements for "New Java Class"

open
nobody
5
2010-01-22
2010-01-22
Mathias Ricken
No

The "New Java Class" feature in the File menu can be improved.

1. It should be possible to enter a package (or leave it empty for default).

2. For the superclass and the interfaces, there should be a predictive input dialog to assist the user in entering class names. It should contain the same class names as the "Auto-Complete Word" dialog (Press Apple-Shift-Space or Ctrl-Shift-Space in the Definitions Pane).
2.1. If the superclass or interface is in the same package as the generated class or if the superclass or interface is in the java.lang package, just use the simple class name. Otherwise import the class first.

3. It should be possible to add fields.
3.1. For the type, there should be a predictive input dialog (see point 2 above), but here we also need to allow the primitive types.
3.2. The same rules apply for the class names as for the superclass and interfaces (see point 2.1 above).
3.3. The modifiers (default, public, protected, private) and final, volatile and static should be available.

Discussion