I'm not sure, whether it can be considered a "refactoring". I believe,
it's just a code layout option.

Tom


On Wed, 17 Jul 2002 10:18:15 -0400, Jon Steelman
<[EMAIL PROTECTED]> wrote:

> +1
> 
> Alternatively, this could be a new refactoring.
> 
> Jon
> 
> Igor Karpov wrote:
> > There is an "optimize imports" functionality that is fine, but what I need is
> > to convert existing code that uses fully-qualified names for no real reason to
> > the code with the corresponding import statement and ususal plain names.
> > 
> > Example
> > 
> > // Before
> > 
> > com.abc.Type1 doSomething1() {...}
> > com.abc.Type2 doSomething2() {...}
> > com.abc.Type1 doSomething2() {...}
> > com.abc.Type2 doSomething4() {...}
> > // a lot..
> > 
> > // After
> > 
> > import com.abc.Type1;
> > import com.abc.Type2;
> > 
> > Type1 doSomething1() {...}
> > Type2 doSomething2() {...}
> > Type1 doSomething2() {...}
> > Type2 doSomething4() {...}
> > 
> > So it is the import optimization, isn't it? Would be nice if IDEA supported it.
> > 
> > 
> > ------------------------------------
> > Mail.Ru - ������, ��������, �������!
> > ------------------------------------
> 
> 

_______________________________________________
Eap-features mailing list
[EMAIL PROTECTED]
http://lists.jetbrains.com/mailman/listinfo/eap-features

Reply via email to