IntelliJ Community . MoveElementPlugin

 
MoveElementPlugin 

HOME INDEX SEARCH CHANGES GO  

Description.

Structure aware (PSI API) element moving.

This plugin uses non-published IDEA API.

Downloads, Bugs, RFEs:

http://sourceforge.net/projects/tz-ip/

How to deploy.

  • Copy the jar file (e.g. MoveElement.jar) to the plugins directory ($IDEA_HOME/plugins).
  • Restart IDEA.

Key mappings.

keystroke           plugin's action id

Alt-PageUp          MoveElementPlugin.ElementUp
Alt-PageDn          MoveElementPlugin.ElementDown

Call parameters.

Note that it just moves parameters without touching the method signature.

class A { // Before
    {
        "".replace(|'a', 'b');
    }
}

class A { // After Alt-PageDn
    {
        "".replace('b', |'a');
    }
}

Class members.

Works for methods, fields, instance/static initializers, classes/interfaces.

class A { // Before

    |void f() {
    }

    void g() {
    }

}

class A { // After Alt-PageDn

    void g() {
    }

    |void f() {
    }

}

How to build

  1. Specify locations in build-home.properties
  2. ant clean main.

History.

0.2 (#896) - Aug 26, 2003

  • Class member (method, field, instance/static initializer, class/interface) moving.

0.1 (#896) - Aug 25, 2003

  • Call parameters moving, f(|0, 1) -> f(1, |0).

-- TimurZambalayev - Aug 25, 2003

IntelliJPluginWebForm
IntelliJPluginName: MoveElementPlugin
IntelliJPluginVersion: 0.2
IntelliJPluginVendor: TimurZambalayev
IntelliJPluginBinary: http://sourceforge.net/projects/tz-ip/
IntelliJPluginSource: http://sourceforge.net/projects/tz-ip/
IntelliJPluginClassification: CodeHelper?
TopicClassification: IntelliJPluginPackage
TopicShortDescription: Structure aware (PSI API) element moving.
TestedOnOS: OsWin2K
ShouldRunOnOS: AnyOS

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.