mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-24 10:38:59 +01:00
add object, key, and null as SymbolKind, fixes #2111
This commit is contained in:
@@ -218,6 +218,12 @@ export namespace SymbolKind {
|
||||
return 'number';
|
||||
case types.SymbolKind.Boolean:
|
||||
return 'boolean';
|
||||
case types.SymbolKind.Object:
|
||||
return 'object';
|
||||
case types.SymbolKind.Key:
|
||||
return 'key';
|
||||
case types.SymbolKind.Null:
|
||||
return 'null';
|
||||
}
|
||||
return 'property';
|
||||
}
|
||||
@@ -256,6 +262,12 @@ export namespace SymbolKind {
|
||||
return types.SymbolKind.Number;
|
||||
case 'boolean':
|
||||
return types.SymbolKind.Boolean;
|
||||
case 'object':
|
||||
return types.SymbolKind.Object;
|
||||
case 'key':
|
||||
return types.SymbolKind.Key;
|
||||
case 'null':
|
||||
return types.SymbolKind.Null;
|
||||
}
|
||||
return types.SymbolKind.Property;
|
||||
}
|
||||
|
||||
@@ -536,6 +536,9 @@ export enum SymbolKind {
|
||||
Number,
|
||||
Boolean,
|
||||
Array,
|
||||
Object,
|
||||
Key,
|
||||
Null
|
||||
}
|
||||
|
||||
export class SymbolInformation {
|
||||
|
||||
Reference in New Issue
Block a user