Project: JDT
Bug 40592 Extend <ctrl-shift-m> (Add Import) functionality
Reported: 2003-07-22 10:26:22 | Status: resolved fixed

Currently, if you do an "add import" for a fully-qualified class, the import is added and the full-qualification is removed. (ie/the package part of the class name is removed). If you do the same to another usage of the same class, nothing happens. It would be very helpful to have the package part of the class name removed for any class that has an existing import when doing an add import.

Files changed in fix:
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/AddImportOnSelectionAction.java