Community
Participate
Working Groups
say I have public class Property { public static class Def { } } when I do code completion on Def, I want the option to produce ---- import com.package.Property Property.Def def = new Property.Def(...... ---- not ---- import com.package.Property.Def Def def = new Def(...... ---- The rational for this request is that when I create public nested classes I often give them short names which only make sense within the context of the parent class. So whilst Property may be a unique classname in my codebase, Def will not.
in the example below 'organize imports' generates: import com.package.Property import com.package.Property.Def and the default style checker complains that the 2nd import is not used.
can you attach the source where organize import adds too many imports?
not for 3.1