Relative Content

Tag Archive for visual-studio-codevscode-extensionslanguage-server-protocol

How to get a partialResultToken from the textDocument/documentSymbol request in vscode

In the lsp specification, the documentSymbolParams extend WorkDoneParams and PartialResultParams.
I need to need to get a partialResultToken to send back the results of textDocument/documentSymbols request as a partial result. However vscode does not seem to send one. Is there something specific that I need to do to get it to send a token ? Or is this simply a feature that has yet to be implemented ?

How to get a partialResultToken from the textDocument/documentSymbol request in vscode

In the lsp specification, the documentSymbolParams extend WorkDoneParams and PartialResultParams.
I need to need to get a partialResultToken to send back the results of textDocument/documentSymbols request as a partial result. However vscode does not seem to send one. Is there something specific that I need to do to get it to send a token ? Or is this simply a feature that has yet to be implemented ?

How to get a partialResultToken from the textDocument/documentSymbol request in vscode

In the lsp specification, the documentSymbolParams extend WorkDoneParams and PartialResultParams.
I need to need to get a partialResultToken to send back the results of textDocument/documentSymbols request as a partial result. However vscode does not seem to send one. Is there something specific that I need to do to get it to send a token ? Or is this simply a feature that has yet to be implemented ?

How to get a partialResultToken from the textDocument/documentSymbol request in vscode

In the lsp specification, the documentSymbolParams extend WorkDoneParams and PartialResultParams.
I need to need to get a partialResultToken to send back the results of textDocument/documentSymbols request as a partial result. However vscode does not seem to send one. Is there something specific that I need to do to get it to send a token ? Or is this simply a feature that has yet to be implemented ?

Access the channel output associated to a language server trace

As part of an extension I am developing, I would like to access the output channel associated to the trace of my language server, or even better its file so that I could open it either through the
channel.show(); command or through a workbench action such as vscode.commands.executeCommand("workbench.action.openLogFile", file).

Is it possible to inject code context into VS Code Javascript language server

in VS Code I want to provide custom JSDocs and autocomplete for javascript.
So I have a js file that contains definitions and JSDocs for specific objects and functions and I would like to have autocomplete and docs on hover, without the file/definitions being present in the current code base/context, but for example via an extension.