mirror of
https://github.com/Microsoft/vscode
synced 2024-10-04 02:14:06 +00:00
[css] use findDocumentSymbols (#161847)
[css] use findDocumentSymbols. For #157356
This commit is contained in:
parent
9e0e4a2d1f
commit
06bd7ae776
|
@ -223,7 +223,7 @@ export function startServer(connection: Connection, runtime: RuntimeEnvironment)
|
|||
if (document) {
|
||||
await dataProvidersReady;
|
||||
const stylesheet = stylesheets.get(document);
|
||||
return getLanguageService(document).findDocumentSymbols(document, stylesheet);
|
||||
return getLanguageService(document).findDocumentSymbols2(document, stylesheet);
|
||||
}
|
||||
return [];
|
||||
}, [], `Error while computing document symbols for ${documentSymbolParams.textDocument.uri}`, token);
|
||||
|
|
Loading…
Reference in a new issue