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

I create a extension for VSCode and I would like to know, what event is fired when user changes tabs on VSCode?

When the user clicks on tabs what events are dispatched in the VSCode extension api?
0
votes
0 answers

VSCode Semantic Coloring Performance

I am working to provide semantic coloring for my language for VSCode client and java based language server using lsp4j. But for large files syncing the entire document has performance lag which becomes unacceptable for larger documents. Can I get…
0
votes
0 answers

Permission denied error for custom language server in JupyterLab

I'm configuring a custom language server for JupyterLab using the jupyterlab-lsp extension, and I'm running into some permissions issues. For context, I have JupyterLab installed in a Conda environment, where I also have the aforementioned extension…
0
votes
1 answer

Creating IntelliSense based on compiled JavaScript for other language?

I thought about creating an extension that offers IntelliSense (i.e. code completion) for CoffeeScript, a popular language that compiles to JavaScript. By IntelliSense I primarly mean autocompletion: Properties, function parameters, automatic…
phil294
  • 10,038
  • 8
  • 65
  • 98
0
votes
1 answer

Invoking Xtext Generator via Language Server Protocol explicitly

I have a DSL project using Xtext together with the Language Server Protocol. Now I want to trigger a Generator from the client (in my case VS Code) to be executed on the server. Not automatically (I would know how to do that), but explicitly…
0
votes
1 answer

kak-lsp Log shows `Language server is not initialized`

I have installed kak-lsp successfully with plug.kak. I have placed the kak-lsp.toml in ~/.config/kak-lsp/kak-lsp.toml. For the rustlang part it looks like this: [language.rust] filetypes = ["rust"] roots = ["Cargo.toml"] command = "sh" args = ["-c",…
ino
  • 1,002
  • 1
  • 8
  • 25
0
votes
1 answer

Xtext ServerLauncher not running while trying to generate a language server

I am using Eclipse DSL package 2020-09 with Amazon Corette java 11. I followed the instructions mentioned in https://www.eclipse.org/Xtext/documentation/340_lsp_support.html for generating a sample language server. However while running the java…
Anitha
  • 23
  • 1
  • 4
0
votes
0 answers

Building a tool to leverage the Language Server Protocol in general and VSCode's ~/.vscode/extensions as a server launch mechanism in particular

I am developing a free software code coverage tool that leverages LSP. I do not want to reinvent the wheel in order to specify and launch a particular language server. What seems to make sense is to use VSCode to obtain the LS extension from the…
pajato0
  • 3,628
  • 3
  • 31
  • 37
0
votes
2 answers

How to make clangd use diagnostics flags?

I'm trying to setup clangd with Neovim built-in LSP Config and it is working fine. Problem is, usually I compile everything with the flags -Wall -Wextra -Werror, how can I make clangd use these flags when analyzing code and prompt for errors? Thanks…
0
votes
1 answer

There is a way to use lsp4e for calling language server methods directly?

I'm new to the lsp4e & lsp technologies and as far as I have seen the framework provides almost everything for working with eclipse. However there is a way to use this features at will? i.e I would like to use the LS to get all the functions on a…
MPar
  • 58
  • 6
0
votes
1 answer

VSCode does not raise DidRenameFiles notification to language server

I am currently implementing the new Events for file operations in my language server, which have been introduced in LSP protocol version 3.16. My server shall be able to react on didRename, didDelete etc., but so far I am unable to get these…
sscit
  • 1
  • 1
0
votes
1 answer

Support of fileOperations ClientCapabilities (LSP) in Visual Studio Code 1.54

I am implementing a language server and try to integrate it in latest Visual Studio Code 1.54.3. At the moment I try to handle the fileOperations capabilities, that have been added to 3.16 protocol version. If I check the "initialize" message from…
sscit
  • 1
  • 1
0
votes
1 answer

How to push LSP Diagnostic using OmniSharp LanguageServer?

I'm using OmniSharp's C# LSP server to implement a simple parsing/language service for a VS Code plugin. I've managed to get the basics up and running, but I've not been able to figure out how to push diagnostic messages to VS Code (like in this…
gplumb
  • 712
  • 6
  • 29
0
votes
0 answers

Why is VSCode killing my language server when I open the source control tab?

I'm working on a language server extension right now and keep getting annoyed because after opening the source control tab once in a session, VSC sends a shutdown request to my language server. It never restarts it so I just have to restart VSC…
0
votes
2 answers

Server angular-ls:xxxxx/starting exited with status exit in Emacs LSP

Each time I open a new TypeScript file in an Angular project, it throws an error Server angular-ls:xxxxx/starting exited with status exit(check corresponding stderr for details). Do you want to restart it? (y or n) angular-ls:stderr…
BinaryButterfly
  • 18,137
  • 13
  • 50
  • 91