diff --git a/src/vs/vscode.proposed.d.ts b/src/vs/vscode.proposed.d.ts index 10bc6631678..5ed9c62424c 100644 --- a/src/vs/vscode.proposed.d.ts +++ b/src/vs/vscode.proposed.d.ts @@ -476,11 +476,12 @@ declare module 'vscode' { export class HierarchicalSymbolInformation { name: string; kind: SymbolKind; + detail: string; location: Location; range: Range; children: HierarchicalSymbolInformation[]; - constructor(name: string, kind: SymbolKind, location: Location, range: Range); + constructor(name: string, detail: string, kind: SymbolKind, location: Location, range: Range); } export interface DocumentSymbolProvider { diff --git a/src/vs/workbench/api/node/extHost.api.impl.ts b/src/vs/workbench/api/node/extHost.api.impl.ts index 8afaaa63c6c..a8012a216c9 100644 --- a/src/vs/workbench/api/node/extHost.api.impl.ts +++ b/src/vs/workbench/api/node/extHost.api.impl.ts @@ -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, diff --git a/src/vs/workbench/api/node/extHostTypes.ts b/src/vs/workbench/api/node/extHostTypes.ts index 7d66e05515d..743bf0c8d1b 100644 --- a/src/vs/workbench/api/node/extHostTypes.ts +++ b/src/vs/workbench/api/node/extHostTypes.ts @@ -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;