mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-25 02:58:56 +01:00
add detail field to proposed api, #34968
This commit is contained in:
@@ -669,9 +669,9 @@ export function createApiFactory(
|
||||
StatusBarAlignment: extHostTypes.StatusBarAlignment,
|
||||
SymbolInformation: extHostTypes.SymbolInformation,
|
||||
HierarchicalSymbolInformation: class extends extHostTypes.HierarchicalSymbolInformation {
|
||||
constructor(name, kind, keyof, range) {
|
||||
constructor(name, kind, detail, keyof, range) {
|
||||
checkProposedApiEnabled(extension);
|
||||
super(name, kind, keyof, range);
|
||||
super(name, kind, detail, keyof, range);
|
||||
}
|
||||
},
|
||||
SymbolKind: extHostTypes.SymbolKind,
|
||||
|
||||
@@ -879,11 +879,12 @@ export class SymbolInformation {
|
||||
export class HierarchicalSymbolInformation {
|
||||
name: string;
|
||||
location: Location;
|
||||
detail: string;
|
||||
kind: SymbolKind;
|
||||
range: Range;
|
||||
children: HierarchicalSymbolInformation[];
|
||||
|
||||
constructor(name: string, kind: SymbolKind, location: Location, range: Range) {
|
||||
constructor(name: string, kind: SymbolKind, detail: string, location: Location, range: Range) {
|
||||
this.name = name;
|
||||
this.kind = kind;
|
||||
this.location = location;
|
||||
|
||||
Reference in New Issue
Block a user