sourcegraph / javascript-typescript-langserver

JavaScript and TypeScript code intelligence through the Language Server Protocol
https://sourcegraph.com
Apache License 2.0
793 stars 72 forks source link

Use new API for textDocument/documentSymbol #501

Open bizzyman opened 6 years ago

bizzyman commented 6 years ago

Hi,

Since VScode 1.25's new outline feature (see https://github.com/redhat-developer/vscode-java/issues/586), the LSP spec has been updated (https://microsoft.github.io/language-server-protocol/specification#textDocument_documentSymbol) with new features, the most important one being the children? field, which allows for a hierarchical outline to be created from the symbols returned, will javascript-typescript-langserver be implementing this new spec?

AArnott commented 5 years ago

I need this as well, mostly for the new range vs. selectionRange fields.