SortContentAction: trying to save layout with multiple items on line

This commit is contained in:
Roman Ivanov
2018-01-22 15:57:22 +07:00
parent 33ec83966d
commit 6dda38da0f
7 changed files with 148 additions and 37 deletions
@@ -0,0 +1,13 @@
// "Sort content" "true"
import java.util.*;
public class Main {
private void test() {
new String[]{
"aaa", "bbb",
"ccc", "dd",
"ff"
};
}
}
@@ -0,0 +1,14 @@
// "Sort content" "true"
import java.util.*;
public class Main {
private void test() {
new String[]{
"aaa", // a
"bbb",
"ccc"/* c */, "dd", // d
"ff"// f
};
}
}
@@ -7,7 +7,7 @@ public class Main {
new String[]{
"aaa", // a
"bbb", // b
"ccc" /* c */
"ccc"/* c */
};
}
}
@@ -7,6 +7,6 @@ public class Main {
new String[]{
"aaa", // a
"bbb", // b
"ccc" /* c */};
"ccc"/* c */};
}
}
@@ -0,0 +1,13 @@
// "Sort content" "true"
import java.util.*;
public class Main {
private void test() {
new String[] {
"bbb", <caret>"aaa",
"ccc", "dd",
"ff"
};
}
}
@@ -0,0 +1,13 @@
// "Sort content" "true"
import java.util.*;
public class Main {
private void test() {
new String[] {
"bbb", <caret>"aaa", // a
"ccc"/* c */ , "dd", // d
"ff" // f
};
}
}