Do not skip blocks outside of formatting range, when building block wrappers. Blocks with alignments will be built and in some cases aligned properly.

Removed FieldInColumnsPreFormatProcessor, because now using CodeStyleManager#reformatWithContext we can reformat not only selected fragment, but also all blocks with alignments found there. (Also it fixes IDEA-99343)

Corrected test data
This commit is contained in:
Yaroslav Lepenkin
2015-06-23 17:22:25 +03:00
parent 4e057fa62a
commit 28a13b77d1
4 changed files with 2 additions and 126 deletions
@@ -1,7 +1,7 @@
// "Create field 'field'" "true"
class A {
public static final String NOTIFICATION_ENABLED = "NOTIFICATION_ENABLED";
public static final String NOTIFICATION_DEVICE_NAME = "NOTIFICATION_DEVICE_NAME";
public static final String NOTIFICATION_ENABLED = "NOTIFICATION_ENABLED";
public static final String NOTIFICATION_DEVICE_NAME = "NOTIFICATION_DEVICE_NAME";
public static String field;
public static String getString(String key)