File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -38,19 +38,28 @@ export class WorkspaceSymbolProvider implements vscode.WorkspaceSymbolProvider {
38
38
for ( const element of data . result . content ) {
39
39
const kind : vscode . SymbolKind = ( ( ) => {
40
40
switch ( element . Type ) {
41
- case "Query" :
42
41
case "Method" :
43
42
return vscode . SymbolKind . Method ;
43
+ case "Query" :
44
+ return vscode . SymbolKind . Function ;
45
+ case "Trigger" :
46
+ return vscode . SymbolKind . Event ;
44
47
case "Parameter" :
45
48
return vscode . SymbolKind . Constant ;
46
49
case "Index" :
50
+ return vscode . SymbolKind . Array ;
51
+ case "ForeignKey" :
47
52
return vscode . SymbolKind . Key ;
48
53
case "XData" :
49
- case "Storage" :
50
54
return vscode . SymbolKind . Struct ;
55
+ case "Storage" :
56
+ return vscode . SymbolKind . Object ;
57
+ case "Projection" :
58
+ return vscode . SymbolKind . Interface ;
51
59
case "Class" :
52
60
return vscode . SymbolKind . Class ;
53
61
default :
62
+ // Property and Relationship
54
63
return vscode . SymbolKind . Property ;
55
64
}
56
65
} ) ( ) ;
You can’t perform that action at this time.
0 commit comments