MoveElementPlugin 

HOME INDEX SEARCH GO  

 <<O>>  Difference Topic MoveElementPlugin (r1.2 - 26 Aug 2003 - TimurZambalayev)
Added:
>
>

How to deploy.

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

How to deploy.

>
>

Class members.

Changed:
<
<

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

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() {
    }

}
Added:
>
>

0.2 (#896) - Aug 26, 2003

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

%META:FIELD{name="IntelliJPluginVersion" title="IntelliJPluginVersion" value="0.1"}%

>
>

%META:FIELD{name="IntelliJPluginVersion" title="IntelliJPluginVersion" value="0.2"}%


 <<O>>  Difference Topic MoveElementPlugin (r1.1 - 26 Aug 2003 - TimurZambalayev)
Added:
>
>

%META:TOPICINFO{author="TimurZambalayev" date="1061860620" format="1.0" version="1.1"}% %META:TOPICPARENT{name="TimurZambalayev"}%

Description.

Structure aware (PSI API) element moving.

This plugin uses non-published IDEA API.

Downloads, Bugs, RFEs:

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

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');
    }
}

How to deploy.

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

How to build

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

History.

0.1 (#896) - Aug 25, 2003

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

-- TimurZambalayev - Aug 25, 2003 %META:FORM{name="IntelliJPluginWebForm"}% %META:FIELD{name="IntelliJPluginName" title="IntelliJPluginName" value="MoveElementPlugin"}% %META:FIELD{name="IntelliJPluginVersion" title="IntelliJPluginVersion" value="0.1"}% %META:FIELD{name="IntelliJPluginVendor" title="IntelliJPluginVendor" value="TimurZambalayev"}% %META:FIELD{name="IntelliJPluginBinary" title="IntelliJPluginBinary" value="http://sourceforge.net/projects/tz-ip/"}% %META:FIELD{name="IntelliJPluginSource" title="IntelliJPluginSource" value="http://sourceforge.net/projects/tz-ip/"}% %META:FIELD{name="IntelliJPluginClassification" title="IntelliJPluginClassification" value="CodeHelper"}% %META:FIELD{name="TopicClassification" title="TopicClassification" value="IntelliJPluginPackage"}% %META:FIELD{name="TopicShortDescription" title="TopicShortDescription" value="Structure aware (PSI API) element moving."}% %META:FIELD{name="TestedOnOS" title="TestedOnOS" value="OsWin2K"}% %META:FIELD{name="ShouldRunOnOS" title="ShouldRunOnOS" value="AnyOS"}%


View | Diffs | r1.2 | > | r1.1 | More

e d i t a t t a c h r e f - b y d i f f s
Ideas,requests,problems regarding this site? Send feedback.
Copyright @ 2000-2003 by the contribution authors. All material on this collaboration tool is the property of the contributing authors.

Revision r1.1 - 26 Aug 2003 - 01:17 GMT - TimurZambalayev
Revision r1.2 - 26 Aug 2003 - 05:55 GMT - TimurZambalayev
Copyright © 2001 by the contributing authors. All material on this collaboration tool is the property of the contributing authors.
Ideas, requests, problems regarding this site? Send feedback.