Closed johnsoncodehk closed 1 year ago
Look to https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#textDocument_documentSymbol, DocumentSymbol is a better data structure. Added findDocumentSymbols2() API to return DocumentSymbol[] and align with vscode-css-languageservice and vscode-json-languageservice.
DocumentSymbol
findDocumentSymbols2()
DocumentSymbol[]
vscode-css-languageservice
vscode-json-languageservice
Fix #130.
Look to https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#textDocument_documentSymbol,
DocumentSymbol
is a better data structure. AddedfindDocumentSymbols2()
API to returnDocumentSymbol[]
and align withvscode-css-languageservice
andvscode-json-languageservice
.Fix #130.