提交 be6d1d7d 编写于 作者: J Johannes Rieken

fix dto/revive issue

上级 99698327
......@@ -82,6 +82,9 @@ export class MainThreadLanguageFeatures implements MainThreadLanguageFeaturesSha
return <modes.SymbolInformation[]>data;
} else {
data.location = MainThreadLanguageFeatures._reviveLocationDto(data.location);
if (data.children) {
data.children.forEach(MainThreadLanguageFeatures._reviveSymbolInformationDto);
}
return <modes.SymbolInformation>data;
}
}
......
......@@ -664,6 +664,8 @@ export interface SymbolInformationDto extends IdObject {
containerName?: string;
kind: modes.SymbolKind;
location: LocationDto;
definingRange: IRange;
children?: SymbolInformationDto[];
}
export interface WorkspaceSymbolsDto extends IdObject {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册