mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
SortContentAction: support enum sorting
This commit is contained in:
+7
@@ -0,0 +1,7 @@
|
||||
// "Sort content" "true"
|
||||
|
||||
enum e {
|
||||
Bar,
|
||||
Baz,
|
||||
Foo;
|
||||
}
|
||||
+17
@@ -0,0 +1,17 @@
|
||||
// "Sort content" "true"
|
||||
|
||||
enum e {
|
||||
Bar(2),
|
||||
Baz(5),
|
||||
Foo(1);
|
||||
|
||||
int i;
|
||||
|
||||
e(int i) {
|
||||
this.i = i;
|
||||
}
|
||||
|
||||
void doSomething() {
|
||||
|
||||
}
|
||||
}
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
// "Sort content" "true"
|
||||
|
||||
enum e {
|
||||
Bar,
|
||||
Baz,
|
||||
Foo
|
||||
|
||||
}
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
// "Sort content" "true"
|
||||
|
||||
enum e {
|
||||
Foo,
|
||||
Bar,<caret>
|
||||
Baz;
|
||||
}
|
||||
+17
@@ -0,0 +1,17 @@
|
||||
// "Sort content" "true"
|
||||
|
||||
enum e {
|
||||
Foo(1),
|
||||
Bar(2),<caret>
|
||||
Baz(5);
|
||||
|
||||
int i;
|
||||
|
||||
e(int i) {
|
||||
this.i = i;
|
||||
}
|
||||
|
||||
void doSomething() {
|
||||
|
||||
}
|
||||
}
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
// "Sort content" "true"
|
||||
|
||||
enum e {
|
||||
Foo,
|
||||
Bar,<caret>
|
||||
Baz
|
||||
}
|
||||
Reference in New Issue
Block a user