projects
/
roobuilder
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
afb77d0
)
src/Lsp.vala
author
Alan Knowles
<alan@roojs.com>
Sun, 17 Mar 2024 04:02:49 +0000
(12:02 +0800)
committer
Alan Knowles
<alan@roojs.com>
Sun, 17 Mar 2024 04:02:49 +0000
(12:02 +0800)
src/Lsp.vala
patch
|
blob
|
history
diff --git
a/src/Lsp.vala
b/src/Lsp.vala
index
f385941
..
a5058a7
100644
(file)
--- a/
src/Lsp.vala
+++ b/
src/Lsp.vala
@@
-529,6
+529,24
@@
namespace Lsp {
}
}
+ public int sort_key {
+ {
+ switch (this) {
+ case Enum : return 1;
+ case Class: return 2;
+
+ case Constructor : return 1;
+ case Method : return 2;
+ case Field : return 3;
+ case Property : return 3;
+
+ default:
+ return 5;
+
+
+ }
+
+ }
}