mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
SortContentAction: fix \n placement, better layout
This commit is contained in:
+4
-4
@@ -1,13 +1,13 @@
|
||||
// "Sort content" "true"
|
||||
|
||||
public enum OSType {
|
||||
LINUX// linux
|
||||
LINUX // linux
|
||||
,
|
||||
|
||||
MAC//mac
|
||||
MAC //mac
|
||||
,
|
||||
WIN//after win
|
||||
// win
|
||||
WIN //after win
|
||||
// win
|
||||
|
||||
|
||||
;
|
||||
|
||||
+1
-1
@@ -4,6 +4,6 @@ public enum Enum {
|
||||
A,
|
||||
|
||||
B,
|
||||
C// foo
|
||||
C // foo
|
||||
;
|
||||
}
|
||||
+2
-2
@@ -7,8 +7,8 @@ public class Main {
|
||||
new String[]{
|
||||
"aaa", // a
|
||||
"bbb",
|
||||
"ccc"/* c */, "dd", // d
|
||||
"ff"// f
|
||||
"ccc" /* c */, "dd", // d
|
||||
"ff" // f
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -7,7 +7,7 @@ public class Main {
|
||||
new String[]{
|
||||
"aaa", // a
|
||||
"bbb", // b
|
||||
"ccc"/* c */
|
||||
"ccc" /* c */
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
// "Sort content" "true"
|
||||
|
||||
import java.util.*;
|
||||
|
||||
public class Main {
|
||||
private void test() {
|
||||
String[] s = new String[]{"a", "b",
|
||||
"c" //simple end comment
|
||||
};
|
||||
}
|
||||
}
|
||||
+1
-1
@@ -7,6 +7,6 @@ public class Main {
|
||||
new String[]{
|
||||
"aaa", // a
|
||||
"bbb", // b
|
||||
"ccc"/* c */};
|
||||
"ccc" /* c */};
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -11,7 +11,7 @@ public class Main {
|
||||
|
||||
"Martinez", "Miller", "Moore", "Robinson", "Rodriguez", "Smith", "Taylor",
|
||||
"Thomas", "Thompson", "Walker", "White", //B
|
||||
"Williams", "Wilson", "Young"//Z
|
||||
"Williams", "Wilson", "Young" //Z
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
+1
-2
@@ -10,8 +10,7 @@ public class Test {
|
||||
|
||||
"100+10",
|
||||
"100+3..999",
|
||||
"100..999"//simple end comment
|
||||
"100..999" //simple end comment
|
||||
//simple end comment
|
||||
|
||||
};
|
||||
}
|
||||
+3
-3
@@ -10,10 +10,10 @@ public class Main {
|
||||
// 4
|
||||
"bar",
|
||||
|
||||
"baz"// 7
|
||||
// 8
|
||||
"baz" // 7
|
||||
// 8
|
||||
,
|
||||
"foo"/*3*/ // 2
|
||||
"foo" /*3*/ // 2
|
||||
// 5
|
||||
|
||||
|
||||
|
||||
+1
-1
@@ -10,7 +10,7 @@ public class Main {
|
||||
"aaa",
|
||||
"bbb",
|
||||
|
||||
"ccc"//comment
|
||||
"ccc" //comment
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
// "Sort content" "true"
|
||||
|
||||
import java.util.*;
|
||||
|
||||
public class Main {
|
||||
private void test() {
|
||||
String[] s = new String[]{"a",<caret> "c"//simple end comment
|
||||
, "b"};
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user