Questions tagged [language-server-protocol]

Inquiries regarding the Language Server Protocol (LSP), an open-source protocol developed by Microsoft that facilitates communication between editors or IDEs and language servers to enable various language features.

Execute the node script when the VSCode extension is in use

I have been working on developing a VSCode extension utilizing the power of the Language Server Protocol (LSP). This extension is designed to activate whenever a user opens a file with the extension '.ext'. The setup I have in place looks like th ...

Is there a way to access the rootPath or other client-side information from the language server side?

I'm currently developing a language extension based on the example "language server" available at . In order to determine the current folder being used by vscode on the server side, I attempted to retrieve it using the following code snippet: import * as ...

encountering issues with configuring TypeScript LSP in NeoVim with the use of the lazy package manager

Encountered an error in nvim when opening a .ts file. Using mason, mason-lspconfig, and nvim-lspconfig for lsp setup. Lua language lsp is functioning properly, but facing errors with ts files as shown in the screenshot below: https://i.stack.imgur.com/gYM ...