update proposed API to DocumentSymbol-type, #34968

This commit is contained in:
Johannes Rieken
2018-06-12 12:47:15 +02:00
parent 7fa40d8a12
commit cecfdcde22
7 changed files with 83 additions and 46 deletions

View File

@@ -692,12 +692,7 @@ export function createApiFactory(
SourceBreakpoint: extHostTypes.SourceBreakpoint,
StatusBarAlignment: extHostTypes.StatusBarAlignment,
SymbolInformation: extHostTypes.SymbolInformation,
SymbolInformation2: class extends extHostTypes.SymbolInformation2 {
constructor(name, kind, containerName, location) {
checkProposedApiEnabled(extension);
super(name, kind, containerName, location);
}
},
DocumentSymbol: extHostTypes.DocumentSymbol,
SymbolKind: extHostTypes.SymbolKind,
SourceControlInputBoxValidationType: extHostTypes.SourceControlInputBoxValidationType,
TextDocumentSaveReason: extHostTypes.TextDocumentSaveReason,