mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-20 08:38:56 +01:00
@@ -67,10 +67,10 @@ class DocumentSymbolAdapter {
|
||||
const res: modes.DocumentSymbol[] = [];
|
||||
const parentStack: modes.DocumentSymbol[] = [];
|
||||
for (const info of infos) {
|
||||
const element = <modes.DocumentSymbol>{
|
||||
const element: modes.DocumentSymbol = {
|
||||
name: info.name || '!!MISSING: name!!',
|
||||
kind: typeConvert.SymbolKind.from(info.kind),
|
||||
tags: info.tags && info.tags.map(typeConvert.SymbolTag.from),
|
||||
tags: info.tags ? info.tags.map(typeConvert.SymbolTag.from) : [],
|
||||
detail: '',
|
||||
containerName: info.containerName,
|
||||
range: typeConvert.Range.from(info.location.range),
|
||||
|
||||
Reference in New Issue
Block a user