Commit Graph
7 Commits
Author SHA1 Message Date
Yaroslav Lepenkin 8e9aff7916 Corrected parameters order, which caused extra spaces formatting when performed on selected fragment. Formatter depending on the result of FormatterUtil.isFormatterCalledExplicitly decides whether to cut trailing spaces or not, and command name mismatch eliminated range correction. Test added. 2015-03-23 20:34:19 +03:00
Yaroslav Lepenkin 2d7ff4d318 merged ReformatCodeActionInEditorTest into MultiActionCodeProcessorTest, test data moved. Fixed compilation and other minor after merge issues. 2015-01-14 18:39:17 +02:00
Yaroslav Lepenkin a5608eccba Merge branch 'master' into no-reformat-dialog-on-reformat-code-action
Conflicts:
	platform/lang-impl/src/com/intellij/codeInsight/actions/FormatChangedTextUtil.java
	platform/lang-impl/src/com/intellij/codeInsight/actions/RearrangeCodeProcessor.java
	platform/lang-impl/src/com/intellij/codeInsight/actions/ReformatCodeAction.java
2015-01-14 16:57:55 +02:00
Yaroslav Lepenkin 276b9556ae Added tests for reformat code action on changed vcs changed lines 2014-12-26 20:53:30 +02:00
Yaroslav Lepenkin a68fe14f58 Added tests for reformat code action, invoked on file in editor. RearrangeCodeProcessor can process selected text now. 2014-12-26 20:53:30 +02:00
Yaroslav Lepenkin c96d467d5b code processor: added tests on single file reformat and import optimization 2014-12-25 23:06:30 +02:00
Yaroslav Lepenkin e2cc09d7a5 code processor: added tests on single file processing 2014-12-25 22:31:11 +02:00