|
|
| Added: |
> > |
- Fixed FileNotFoundException bug (reported by Dani).
|
| Changed: |
< < |
%META:FIELD{name="IntelliJPluginVersion" title="IntelliJPluginVersion" value="0.6"}%
| > > |
%META:FIELD{name="IntelliJPluginVersion" title="IntelliJPluginVersion" value="0.6.1"}% |
|
|
| Changed: |
< < |
Options: blankLineAtTheEndOfTheClass, spaceBeforeBraceInArrayInitializer, wrapSingleStatements.
| > > |
Options: blankAfterLastMember, newArraySpace, shortenFq. Config file location: ${idea.config.path}/options/plugins/Reformat.xml
|
| Changed: |
< < |
| > > |
|
| Changed: |
< < |
ReformatApplicationComponent.blankLineAtTheEndOfTheClass. By default it's disabled (set to false).
| > > |
Blank line at the end of the class. By default it's disabled (set to false).
|
| Changed: |
< < |
| > > |
|
| Changed: |
< < |
ReformatApplicationComponent.spaceBeforeBraceInArrayInitializer. By default it's disabled (set to false).
| > > |
Space before brace in array initializer. By default it's disabled (set to false).
|
| Changed: |
< < |
| > > |
|
| Changed: |
< < |
ReformatApplicationComponent.wrapSingleStatements. By default it's disabled (set to false).
| > > |
Shorten fully qualified class references. By default it's disabled (set to false).
|
| Changed: |
< < |
http://www.intellij.net/tracker/idea/viewSCR?publicId=650
("Add option for adding braces for "if/else" constructs with single statement")
| > > |
http://www.intellij.net/tracker/idea/viewSCR?publicId=9553 ("New code layout action: optimize (shorten) FQCN")
|
| Changed: |
< < |
// Before
for (int i = 0; i < 3; i++) System.out.println("hi");
while (b) System.out.println("hi");
do System.out.println("hi"); while (b);
if (b) System.out.println("hi"); else System.out.println("hey");
| > > |
class A { // Before
java.util.Set set;
}
|
| Changed: |
< < |
// After
for (int i = 0; i < 3; i++) {
System.out.println("hi");
}
while (b) {
System.out.println("hi");
}
do {
System.out.println("hi");
} while (b);
if (b) {
System.out.println("hi");
} else {
System.out.println("hey");
| > > |
import java.util.Set;
class A { // After (actually, it depends on your code style settings)
Set set;
|
| Changed: |
< < |
- Specify the location of $idea.home in build.properties
| > > |
- Specify locations in build-home.properties
|
| Added: |
> > |
- Works only with Aurora builds (tested with #896).
- New option: shorten fully qualified class references.
- Removed wrap single statements option.
- New location of the options: ${idea.config.path}/options/plugins/Reformat.xml.
- Now the options data (if it's different from defaults) is not lost if you remove the plugin.
- API changes (breaks TabifierPlugin).
|
| Changed: |
< < |
%META:FIELD{name="IntelliJPluginVersion" title="IntelliJPluginVersion" value="0.5.1"}%
| > > |
%META:FIELD{name="IntelliJPluginVersion" title="IntelliJPluginVersion" value="0.6"}%
|
| Changed: |
< < |
%META:FIELD{name="TopicShortDescription" title="TopicShortDescription" value="Reformat Code (Ctrl-Alt-L) and Optimize Imports (Ctrl-Alt-O) without a dialog. An additional action: 'Reformat Code And Optimize Imports' (Ctrl-Alt-R). Options: blankLineAtTheEndOfTheClass, spaceBeforeBraceInArrayInitializer, wrapSingleStatements."}%
| > > |
%META:FIELD{name="TopicShortDescription" title="TopicShortDescription" value="Reformat Code (Ctrl-Alt-L) and Optimize Imports (Ctrl-Alt-O) without a dialog. An additional action: 'Reformat Code And Optimize Imports' (Ctrl-Alt-R). Options: blankAfterLastMember, newArraySpace, shortenFq."}% |
|
|
| Added: |
> > |
- Bug [ 758122 ] ReformatPlugin or TabifierPlugin error.
|
| Changed: |
< < |
- Bug [ 755684 ] Sometimes enabled options don't work..
| > > |
- Bug [ 755684 ] Sometimes enabled options don't work.
|
| Changed: |
< < |
%META:FIELD{name="IntelliJPluginVersion" title="IntelliJPluginVersion" value="0.5"}%
| > > |
%META:FIELD{name="IntelliJPluginVersion" title="IntelliJPluginVersion" value="0.5.1"}% |
|
|
| Changed: |
< < |
%META:FIELD{name="TopicShortDescription" title="TopicShortDescription" value="Reformat Code (Ctrl-Alt-L) and Optimize Imports (Ctrl-Alt-O) without a dialog. An additional action: ReformatPlugin.ReformatCodeAndOptimizeImports (Ctrl-Alt-R). Options: blankLineAtTheEndOfTheClass, spaceBeforeBraceInArrayInitializer, wrapSingleStatements."}%
| > > |
%META:FIELD{name="TopicShortDescription" title="TopicShortDescription" value="Reformat Code (Ctrl-Alt-L) and Optimize Imports (Ctrl-Alt-O) without a dialog. An additional action: 'Reformat Code And Optimize Imports' (Ctrl-Alt-R). Options: blankLineAtTheEndOfTheClass, spaceBeforeBraceInArrayInitializer, wrapSingleStatements."}% |
|
|
| Added: |
> > |
Options: blankLineAtTheEndOfTheClass, spaceBeforeBraceInArrayInitializer, wrapSingleStatements.
|
| Added: |
> > |
|
| Added: |
> > |
ReformatApplicationComponent.wrapSingleStatements. By default it's disabled (set to false).
See also HowToSetAnOption.
http://www.intellij.net/tracker/idea/viewSCR?publicId=650
("Add option for adding braces for "if/else" constructs with single statement")
// Before
for (int i = 0; i < 3; i++) System.out.println("hi");
while (b) System.out.println("hi");
do System.out.println("hi"); while (b);
if (b) System.out.println("hi"); else System.out.println("hey");
// After
for (int i = 0; i < 3; i++) {
System.out.println("hi");
}
while (b) {
System.out.println("hi");
}
do {
System.out.println("hi");
} while (b);
if (b) {
System.out.println("hi");
} else {
System.out.println("hey");
}
|
| Added: |
> > |
- Bug [ 755684 ] Sometimes enabled options don't work..
- Bug [ 756094 ] spaceBeforeBraceInArrayInitializer sometimes doesn't work.
- RFE [ 756107 ] Wrap single statements (for, while, do while, if).
|
| Changed: |
< < |
%META:FIELD{name="IntelliJPluginVersion" title="IntelliJPluginVersion" value="0.4"}%
| > > |
%META:FIELD{name="IntelliJPluginVersion" title="IntelliJPluginVersion" value="0.5"}%
|
| Changed: |
< < |
%META:FIELD{name="TopicShortDescription" title="TopicShortDescription" value="Reformat Code (Ctrl-Alt-L) and Optimize Imports (Ctrl-Alt-O) without a dialog. An additional action: ReformatPlugin.ReformatCodeAndOptimizeImports (Ctrl-Alt-R)."}%
| > > |
%META:FIELD{name="TopicShortDescription" title="TopicShortDescription" value="Reformat Code (Ctrl-Alt-L) and Optimize Imports (Ctrl-Alt-O) without a dialog. An additional action: ReformatPlugin.ReformatCodeAndOptimizeImports (Ctrl-Alt-R). Options: blankLineAtTheEndOfTheClass, spaceBeforeBraceInArrayInitializer, wrapSingleStatements."}% |
|
|
| Changed: |
< < |
ReformatPlugin.ReformatCode - works on the current file or a selection (if there's a selection). Regular actions (ReformatCode and OptimizeImports; with a dialog) are replaced by the plugin's actions.
| > > |
ReformatPlugin.ReformatCode - works on the current file or a selection (if there's a selection).
Regular actions (ReformatCode and OptimizeImports; with a dialog) are replaced by the plugin's actions.
|
| Changed: |
< < |
This plugin uses non-published IDEA API (com.intellij.psi.codeStyle.CodeStyleManager and related classes).
| > > |
This plugin uses non-published IDEA API.
|
| Added: |
> > |
|
| Changed: |
< < |
- Copy the jar file (e.g. Reformat.jar) to the plugins directory ($IDEA_HOME/plugins).
| > > |
- Copy the jar file (e.g. Reformat.jar) to the plugins directory ($IDEA_HOME/plugins).
|
| Added: |
> > |
http://www.intellij.net/tracker/idea/viewSCR?publicId=249 ("Formatter. Provide "Blank lines after last member" setting")
http://www.intellij.net/tracker/idea/viewSCR?publicId=2393 ("Blank lines around method not honored at the end of the class")
|
| Added: |
> > |
ReformatApplicationComponent.blankLineAtTheEndOfTheClass. By default it's disabled (set to false).
See also HowToSetAnOption.
|
| Changed: |
< < |
- ant clean main.
| > > |
- ant clean main.
|
| Added: |
> > |
- RFE [ 736783 ] Blank line at the end of the class.
|
| Changed: |
< < |
-- TimurZambalayev - May 12, 2003
| > > |
-- TimurZambalayev - May 11, 2003
|
| Changed: |
< < |
%META:FIELD{name="IntelliJPluginVersion" title="IntelliJPluginVersion" value="0.2"}%
| > > |
%META:FIELD{name="IntelliJPluginVersion" title="IntelliJPluginVersion" value="0.3"}% |
|
|
| Changed: |
< < |
This plugin uses non-published IDEA API.
| > > |
This plugin uses non-published IDEA API (com.intellij.psi.codeStyle.CodeStyleManager and related classes).
|
| Changed: |
< < |
| > > |
Downloads, Bugs, RFEs:
|
| Changed: |
< < |
| > > |
|
| Changed: |
< < |
| > > |
|
| Changed: |
< < |
-- TimurZambalayev - 12 May 2003
| > > |
-- TimurZambalayev - May 12, 2003 |
|
|
| Added: |
> > |
- RFE [ 736800 ] Optimize then Reformat.
- RFE [ 736834 ] Ability to hook up afterReformat listeners.
- Bug [ 738055 ] NPE at startup for #813.
|
| 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="1052708820" format="1.0" version="1.1"}%
%META:TOPICPARENT{name="TimurZambalayev"}%
ReformatCode (Ctrl-Alt-L) and OptimizeImports (Ctrl-Alt-O) without a dialog.
ReformatPlugin.OptimizeImports - works on the current file.
ReformatPlugin.ReformatCode - works on the current file or a selection (if there's a selection). Regular actions (ReformatCode and OptimizeImports; with a dialog) are replaced by the plugin's actions.
You still have the access to the regular actions (Tools menu).
Plus there's an additional action: ReformatPlugin.ReformatCodeAndOptimizeImports (Ctrl-Alt-R).
It does Optimize Imports and Reformat Code on the current file (even if there's a selection).
This plugin uses non-published IDEA API.
http://sourceforge.net/projects/tz-ip/
- Copy the jar file (e.g. Reformat.jar) to the plugins directory ($IDEA_HOME/plugins).
- Restart IDEA.
http://www.intellij.net/tracker/idea/viewSCR?publicId=2389
("Ability to Reformat Code (Ctrl-Alt-L) and Optimize Imports (Ctrl-Alt-O) with one command")
http://www.intellij.net/forums/thread.jsp?forum=3&thread=4680&message=164804 ("Layout Code with option for Optimize Imports?")
http://www.intellij.net/forums/thread.jsp?forum=3&thread=4329&message=141644 ("Splitted Reformat Code/Optimize Imports :(")
http://www.intellij.net/forums/thread.jsp?forum=3&thread=237&message=3035 ("Layout Code and Optimize Imports")
regular action id regular keystroke plugin action id
ReformatCode Ctrl-Alt-L ReformatPlugin.ReformatCode
OptimizeImports Ctrl-Alt-O ReformatPlugin.OptimizeImports
Ctrl-Alt-R ReformatPlugin.ReformatCodeAndOptimizeImports
- Specify the location of $idea.home in build.properties
- ant clean main.
- ReformatPlugin.ReformatCode, ReformatPlugin.OptimizeImports, ReformatPlugin.ReformatCodeAndOptimizeImports.
-- TimurZambalayev - 12 May 2003
%META:FORM{name="IntelliJPluginWebForm"}%
%META:FIELD{name="IntelliJPluginName" title="IntelliJPluginName" value="ReformatPlugin"}%
%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=""}%
%META:FIELD{name="TopicClassification" title="TopicClassification" value="IntelliJPluginPackage"}%
%META:FIELD{name="TopicShortDescription" title="TopicShortDescription" value="ReformatCode (Ctrl-Alt-L) and OptimizeImports? (Ctrl-Alt-O) without a dialog. An additional action: ReformatPlugin.ReformatCodeAndOptimizeImports (Ctrl-Alt-R)."}%
%META:FIELD{name="TestedOnOS" title="TestedOnOS" value="OsWin2K"}%
%META:FIELD{name="ShouldRunOnOS" title="ShouldRunOnOS" value="AnyOS"}% |
View
| Diffs | r1.12 | > | r1.11 | > | r1.10
| More
|
|