IntelliJ Community . RequestFileStructureChange

 
RequestFileStructureChange 

HOME INDEX SEARCH CHANGES GO  
It would be nice to have the possibility to change the methods' order in a source file. For example if I have a class Test:

public class Test {
    public methodA(){}
    public methodB(){}
    public methodC(){}
}

after moving the methodB "up", the source should look like:

public class Test {
    public methodB(){}
    public methodA(){}
    public methodC(){}
}

This can be done for example by enhancing the "File structure" (Ctrl+F12) popup with the ability to drag methods, or by having 2 buttons with "Move up", "Move down". The same problem for fields, constructors and nested classes.

-- FlorinManolache - 6 Jun 2002

Note that there has bees significant debate over this one. I like it, but many people see code-folding plus cut-and-paste to be sufficient.

-- WalterMundt - 12 Jun 2002

I'd like this feature too, but don't think that it should be implemented in Ariadna. I'd like consistent drag&drop support in the whole IDE, which would take much work. This includes refactoring using the mouse (delegate method, move method, move class, push method up and etc.)

-- DimiterD - 12 Jun 2002

I'd love to see this feature. I constantly change the structure of my classses - cut and paste is certainly not sufficent.

-- TWikiGuest - 23 Jan 2003

e d i t a t t a c h r e f - b y d i f f s m o r e
Have ideas, requests, problems regarding this site? Send feedback.
Copyright © 2000-2003 by the contributing authors. All materials at intellij.org are the property of the contributing authors.