|
|
| Added: |
> > |
- Copy the jar file (e.g. MoveElement.jar) to the plugins directory ($IDEA_HOME/plugins).
- Restart IDEA.
|
| Changed: |
< < |
| > > |
|
| 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: |
> > |
- 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"}% |
|
|
| Added: |
> > |
%META:TOPICINFO{author="TimurZambalayev" date="1061860620" format="1.0" version="1.1"}%
%META:TOPICPARENT{name="TimurZambalayev"}%
Structure aware (PSI API) element moving.
This plugin uses non-published IDEA API.
Downloads, Bugs, RFEs:
http://sourceforge.net/projects/tz-ip/
keystroke plugin's action id
Alt-PageUp MoveElementPlugin.ElementUp
Alt-PageDn MoveElementPlugin.ElementDown
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');
}
}
- Copy the jar file (e.g. MoveElement.jar) to the plugins directory ($IDEA_HOME/plugins).
- Restart IDEA.
- Specify locations in build-home.properties
- ant clean main.
- 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
|
|