Questions tagged [language-server-protocol]

Questions about the Language Server Protocol (LSP), a Microsoft open source protocol used between an editor or IDE and a language server that provides language features.

The Language Server Protocol (LSP) is an open source protocol used between an editor or IDE and a language server that provides language features such as code completion and syntax highlighting.

The LSP was originally developed for Microsoft's Visual Studio Code.

357 questions
0
votes
1 answer

Angular v15.2.0 language server crashing in VSCode

While opening an Angular project in VSCode. I am getting this error. How do I fix it? [Info - 19:50:59] Angular language server process ID: 99118 [Info - 19:50:59] Using typescript/lib/tsserverlibrary v4.9.5 from…
venkat7668
  • 2,657
  • 1
  • 22
  • 26
0
votes
0 answers

What does VisualStudio do when it sends a `textDocument.documentSymbol` request to a language server?

I implemented a language server and got it to work with Visual Studio 2022 17.5.2. The server sends a request with method textDocument/documentSymbol. However I can not tell how the response to this request is used. What is the purpose of this…
infinitezero
  • 1,610
  • 3
  • 14
  • 29
0
votes
0 answers

Neovim not showing neither virtual text nor signs for lsp diagnostics

I want to have inline virtual text and signs showing errors, warnings, etc. I already had it working before in previous configurations that used Packer, but now, using Lazy.nvim, it doesn't work. I've tried the LunarVim and NvChad distributions and,…
marcosdly
  • 29
  • 2
0
votes
0 answers

Why does ActivateAsync run frequently in LanguageClient?

I want to add Ansible DSL (based on YAML) support for Visual Studio 2022 (with extension), I found a language server for Ansible DSL in Visual Studio Code, and I want to port this language server into my extension for Visual Studio 2022. For this…
0
votes
0 answers

Why does vscode diagnostic pull requests (Language server client) doesn't support relatedDocumentSupport diagnostics

Why do vscode diagnostic pull requests (Language server client) not support relatedDocumentSupport diagnostics? Looks like a general case for many languages. Any specific reason for this? I don't plan to use workspace/diagnostic for this, because as…
0
votes
0 answers

Unable to get file operation (willRename, etc) notifications in language server

Some detials is provided my discussion in tower-lsp repo. I'm tring to implement a language server for Minecraft:Java Edition shaderpacks that require Optifine, and I found that my language server cannot recieve willRename notifications. Source code…
0
votes
0 answers

Querring a running jupyterlab kernel for autocomlete

For the longest time I've been trying to find a neat way to integrate my jupyterlab and vim workflows. I love the interactively and nice graphs of the notebook but I also love my custom vim config. The solution I'm converging on is using FireNvim to…
Michal
  • 1,300
  • 2
  • 14
  • 22
0
votes
1 answer

How To Fix Nvim Lsp and mason Json Error In Lua

When I Setuped Lsp In Nvim This Linter Keeps Showing In Every Language Such As HTML,CSS or even when I Write In Lua The Error Who Should I Do To Solve or hide this error I tried to lock at the docs but it hasn't any thing and i am expecting solving…
0
votes
0 answers

How do I subscribe to another LSP server events in my LSP server

I am new to LSP servers development, so tell me if the question is hard to understand :) I am writing an LSP server for a newly developed language that works with its own kind of files in a code project, but also makes use of existing classes that…
Dima
  • 1,717
  • 15
  • 34
0
votes
0 answers

Java Debug Adapter Protocol

I want to have Debug Adapter Protocol for Java for my application, I did much research but found only vscode implementations that can't be used for my app (because it contains a local vscode package). I know that Debug Adapter Protocol for Java can…
0
votes
0 answers

How does debouncing work for the language server protocol's DidChangeTextDocument request?

According to the language server protocol, the client sends the server the DidChangeTextDocument request when the text document changes. So if a user is typing a word, does the language server protocol specify that a DidChangeTextDocument request be…
0
votes
0 answers

When implementing a "onReferences" with visual-studio-language-server, how do I search through the content of the files in the workspace?

I'm currently implementing onReferences on the server side of a language server. When a user right clicks on some custom syntax in a markdown file, I want to be able to use that syntax to search for other occurances of strings elsewhere in the…
0
votes
0 answers

How do I use Omnisharp Language Server Client with sumneko-lua?

I'd like to use a language server client to communicate with a language server protocol. I've been trying to connect to sumneko-lua with this language server client. I have been trying to request completion from the language server, but it would…
0
votes
2 answers

clojure-lsp in neovim is not navigating to function definitions/namespaces

I'm using neovim with clojure lsp for clojure development. My neovim config are exactly same as this repo. The autosuggesting is working fine with this configuration. But when I like to navigate to function/namespace definitions, it is not…
user51
  • 8,843
  • 21
  • 79
  • 158
0
votes
2 answers

Neovim Mason plugin cannot install Linters or Formatters

I'm quite new to neovim and mostly use it for simple c++ development. Love the motions and customizability, however I cannot find what I'm doing wrong when trying to install the clang-formatter using Mason plugin. Using the visual interface provided…
TiesDO
  • 31
  • 8