document symbols and deprecated, UX, internal API, #50972

This commit is contained in:
Johannes Rieken
2019-08-22 14:53:40 +02:00
parent a06015b536
commit 8ecc032c23
10 changed files with 29 additions and 2 deletions

View File

@@ -70,6 +70,7 @@ class DocumentSymbolAdapter {
const element = <modes.DocumentSymbol>{
name: info.name || '!!MISSING: name!!',
kind: typeConvert.SymbolKind.from(info.kind),
kindTags: [],
detail: undefined!, // Strict null override — avoid changing behavior
containerName: info.containerName,
range: typeConvert.Range.from(info.location.range),