Skip to main content
Filter by
Sorted by
Tagged with
1 vote
1 answer
56 views

C# Language Client - TypeLoadException

I aim to implement a simple WPF application (.NET Framework 4.8) to host a text editor. This text editor should act as a Language Client. The Language Server runs as an external application based on a ...
Emanuele Goldin's user avatar
0 votes
0 answers
25 views

Is there any possible way to connect monaco editor react with eclipse.jdt.ls language server for multiple users

I’m implementing a web-based code editor with IntelliSense support for Java using the Eclipse JDT Language Server (JDT LS) via LSP. I run the JDT LS in a Node.js application as a child process, and ...
Dhileepan Dhileepan's user avatar
1 vote
0 answers
116 views

Neovim LSP go to declaration and go to definition issue

I have a mapping for "Go to declaration" (gd) and "Go to definition" (gD), but both of them lead to declaration. Also checked vim.inspect, declarationProvider and ...
XCOLDER rew's user avatar
0 votes
0 answers
20 views

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 ...
Romain Tetley's user avatar
0 votes
1 answer
46 views

Microsoft.VisualStudio.Extensibility.LanguageServer.LanguageServerProvider: Exception "No method by the name 'initialize' is found."

I call a language server from an extension for VS2022. This was created using Omnisharp.Extensions.LanguageServer 0.19.9. For the call I use the (currently) experimental class LanguageServerProvider ...
Harald Hoyer's user avatar
0 votes
0 answers
21 views

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 ...
rstsec's user avatar
  • 1
0 votes
1 answer
36 views

How to disable Preview popups from LSP server?

I use clangd as my LSP server and configure it with .clangd file. I don't use any additional LSP plugins. And every time I use the omnifunc on a function from any header except stdio.h and stdlib.h, ...
RecReo's user avatar
  • 66
0 votes
0 answers
46 views

Neovim LSP: how to configure two servers running alongside each other for one filetype?

How do I configure two language servers (pylsp and Jedi-lsp) such that I can use Jedi for "Go to definition" code action and pylsp for everything else (formatting, autocompletion, etc.)? The ...
Свалов Семен's user avatar
0 votes
0 answers
52 views

How to configure Javascript/Typescript formatting settings?

I need to format javascript/typescript code in Eclipse. Accordingly to that comment I found it can be done using "generic editor" of Eclipse Wild Web Developer plugin either JavaScript ...
Nemo's user avatar
  • 147
0 votes
0 answers
20 views

LSP LanguageClient setTrace sends always "off"

When successfully implementing a language client - server system, I can not set "trace" to an other value by setTrace. The server always receives "off". The client is visual studio ...
Matt's user avatar
  • 1
0 votes
0 answers
65 views

What is the name of the highlight group used by the Neovim lsp inlay_hint?

I'm using Neovim v0.10.0 with lspconfig. The lsp inlay_hint is enabled in the on_attach function like this: local on_attach = function(client, bufnr) if client.server_capabilities.inlayHintProvider ...
Gradox's user avatar
  • 13
0 votes
0 answers
53 views

After laptop reimage, SpringBoot Language Server init from Eclipse now fails with "ClassNotFoundException: SpringSymbolIndex$2"

I'm using Eclipse 2024-06. Everything was working reasonably well until last Friday, when my laptop disk died, and I had to get it reimaged. Most things were recovered, but now when I start Eclipse, ...
David M. Karr's user avatar
3 votes
1 answer
239 views

How to enable javascript LSP inside html script tags?

Is there a neovim plugin or a custom configuration of the html LSP that could allow to have linting in html/templ script tags using tsserver or eslint ? <script> // I want tsserver to lint ...
Fayeure's user avatar
  • 1,301
1 vote
0 answers
151 views

Helix Rust LSP (rust-analyzer) not working despite being recognized

I've recently started trying out terminal-based text editors. I've decided to dive into Helix, but I've been having a problem with the rust LSP: it wont work. What could be causing the Rust LSP (rust-...
Anish Kanthamneni's user avatar
0 votes
0 answers
22 views

How to have runtime visualization of code symbols

Is there a way to generate a graph view of a run, similar to stacktrace but just have it as a graph view. Stack traces could be visualized as graphs by having the file source as the node and then ...
jon's user avatar
  • 104
0 votes
0 answers
15 views

Custom VS Code extension: how to get the *full* custom-language UX in Notebooks?

TL;DR: I'm not seeing input-cell hovers / completions / etc for our fully-functioning (LSP-driven) custom-language IntelliSense impls, nor output-cell syntax-coloring with text/x-mylanguageid, what ...
meta_leap's user avatar
  • 2,175
2 votes
0 answers
129 views

lsp-mode choosing the wrong project root in multi-language monorepo

I am well aware that this question has been asked a million times. At least I feel like I've read one million descriptions of this (and just fewer than that in purported solutions). Nothing has ...
user4601931's user avatar
  • 5,249
0 votes
0 answers
41 views

Using R languageserver in RStudio for code formatting

I have recently switched from using VSCode for my R projects to RStudio and found that the automatic code formatting in VSCode is much better compared to RStudios Reformat Code (Ctrl+Shift+A). I have ...
nhaus's user avatar
  • 968
0 votes
0 answers
91 views

How to send correct initialize response to VS Code for an LSP

I am building a Language Server Protocol (LSP) in C# and I'm currently setting up the response to the initialize request. My LSP receives JSON-RPC messages correctly, but I'm encountering an issue ...
user19522235's user avatar
1 vote
1 answer
21 views

VSCode Language Server extension does not return correct results if my cursor is in the middle of a line

I am developing a fork of a Cucumber Language Server as a VSCode extension, and I've run into a strange problem. My autocomplete (onCompletion) works as expected if there is nothing to the right of my ...
Lasse Klausen's user avatar
0 votes
0 answers
31 views

omnisharp-roslyn server using python

We are building an LSP client using omnisharp-roslyn server in python using BaseLanguageClient from pygls. Once I start the server, using client.start_io which utilizes stdin version of omnisharp-...
Muhammad Siddiqi's user avatar
0 votes
1 answer
41 views

How to request document diagnostics using Omnisharp?

I try to request diagnostics from my LSP using the following code var report = await client.RequestDocumentDiagnostic(new DocumentDiagnosticParams() { TextDocument = textDocument, Identifier = ...
SeizureSalad's user avatar
1 vote
0 answers
37 views

Neovim LSP client is not responding with 'initialized' method notification

I'm trying to build a language server from scratch just for learning how it works, so far I've got the initialize method request and I've responded with empty capabilities and server info, but I'm not ...
Milton Tom's user avatar
0 votes
1 answer
221 views

How to configure the angular-language-server in NvChad for a NX monorepo?

I'm trying to make the Angular language server work in NvChad, for a NX monorepo, but it doesn't seem to work. This is what I've pieced together from different sources on the internet: -- EXAMPLE ...
iMe's user avatar
  • 413
0 votes
0 answers
84 views

How to use Tab instead of Enter to accept a suggestion in Jupyter LSP Code Completion?

I am a new user who recently switched to JupyterLab. I’ve noticed that when I use autocomplete in JupyterLab running in the browser, the Language Server Protocol (LSP) defaults to using Enter as the ...
Blackokko's user avatar
0 votes
0 answers
24 views

How to check for a license file in a git-tracked project on GitHub using LSP?

I'm fairly new to Language Server Protocol (LSP) and need some guidance on solving the following use case. I want to implement this on the server side to maximize compatibility with different IDEs. ...
silverfighter's user avatar
1 vote
0 answers
349 views

How do I get LSP-Zero working on NeoVim using lazy.nvim?

I'm switching to NeoVim right now and everything regarding settings has been smooth up until I needed to set up LSP-Zero. Every guide I tried failed, sadly. I'm using NeoVim v0.9.1 Below is my tree ...
Thales Souza's user avatar
1 vote
1 answer
85 views

How can I read from neovim's stdin, using rust?

I'm pretty new to rust and I thought I could get some help here. I'm trying to follow a guide about making LSPs from TJ DeVries, he is coding it in Go but I'm trying to follow along in Rust. I'm stuck ...
Cristi's user avatar
  • 109
0 votes
1 answer
32 views

Intellisense in custom vscode Extension not working

I have copied the setup from the microsoft lsp-sample.The handling for the Completion is in the server. connection.onCompletion( (_textDocumentPosition: TextDocumentPositionParams): CompletionItem[...
Tumba's user avatar
  • 1
0 votes
0 answers
107 views

Configure clangd for C11

I'm using macOS, Emacs, eglot, clangd for writing C11 code. However, the LSP functionality gives me help as if I were programming C++: e.g. suggests completion from std:: namespace (see the screenshot)...
Carl's user avatar
  • 31
1 vote
0 answers
231 views

Get nvim diagnostics on workspace open

When I open VSCode to a specific folder / workspace, I'm automatically greeted with problems if they exist. I'm able to get similar workspace diagnostics in Neovim (with trouble.nvim and nvim-...
mayorbyrne's user avatar
1 vote
2 answers
446 views

How to import symbol under cursor from another Python module using Neovim & LSP

I am a Python developer and would like to use Neovim as my main code editor. I have managed to configure auto-completion, linting and auto-formatting using lspconfig, mason, null-ls, nvim-cmp and ...
Vitalii Diachkov's user avatar
0 votes
0 answers
25 views

How-to use tm4e to add vsCode LSP autocomplete brackets to Eclipse

PLEASE help me to get autocomplete braces and brackets working for this vsCode configuration: https://marketplace.visualstudio.com/items?itemName=thqby.vscode-autohotkey2-lsp I am relatively non-...
LarS's user avatar
  • 1
1 vote
0 answers
22 views

Is there a way to control how often messages are sent to the LSPs?

I'm looking for a way to reduce the amount of messages (reduce the frequency) that are being sent to the LSP. It feels to me that messages are sent too often with no meaningful changes in the code. ...
Gonzalo Matheu's user avatar
1 vote
1 answer
121 views

lua cmp/lsp-config only autocompleting standard functions/structures and does not autocomplete local vaiables and functions

With my current nvim setup for lspconfig plugin: return { { "williamboman/mason.nvim", config = function() require("mason").setup({}) end ...
abdja2's user avatar
  • 29
-1 votes
1 answer
35 views

What happens / how to handle when client.sendRequest(req, cursor).then((answer) does not receive any answer?

I have some VS Code client that sends a request to a server using: client.sendRequest(req, cursor).then((answer)=> { processing... }) What happens if the server does not (for some good reason) ...
Abdelghani's user avatar
0 votes
0 answers
66 views

Emacs flycheck lsp include paths

I use LSP for code completion with Emacs for C++ development. My project is quite big and has few 1000s of source files. I have generated compile_commands.json, but using flycheck-compile explicitly ...
user23517194's user avatar
1 vote
2 answers
169 views

.clangd file add multiple CompileFlags

I am currently trying to setup a .clangd file to use for my lsp ... how can i add multiple compile flags? my file is autogenerated and looks like this: CompileFlags: Add: - -IC:\Users\adria\...
BigAgg's user avatar
  • 43
0 votes
0 answers
114 views

DoomEmacs Python Lsp not loading properly

I’m using Emacs 29 with native-comp on MacOS Sonoma. I’ve enabled lsp-mode and the python +lsp language support. However, when I open a Python file, I encounter the following warning: Error (python-...
Tirtharaj Pramanik's user avatar
0 votes
0 answers
64 views

typescript-language-server does not seem to provide keyword as a semantic token type

When running typescript-language-server very basically like typescript-language-server --stdio I get the following legend back for the initialization response: { "tokenTypes": [ "...
Harald's user avatar
  • 5,013
2 votes
0 answers
348 views

How to disable autocomplete and error pop-ups in an LSP, but keep the other LSP features in Neovim

I am using Neovim (kickstart.nvim) and am new to programming and don't want all the words (auto complete) handed to me nor error messages/pop-ups so I could learn to deal with it myself, but I do want ...
shmuel's user avatar
  • 121
0 votes
0 answers
128 views

jupyterlab with pylsp .virtual_documents error

I'm using jupyterlab 4.1.5 and am trying to follow these instructions: https://jupyterlab.readthedocs.io/en/latest/user/lsp.html I pip installed pylsp using the provided command. When I start ...
Hutch3232's user avatar
  • 428
0 votes
0 answers
73 views

I want to use LSP(Language Server Protocol) in local IDE(VScode) to get line number of specific function

(First of all, I'm not aware of concept of LSP server in VScode) I want to get the line number of specific function in the local project in IDE. I'm using mac m2 / Vscode. I tried 'sudo lsof -iTCP -...
ben park's user avatar
1 vote
0 answers
64 views

C++LSP - ILanguageClient -Connector not loading in visual studio 2022

I try to implement a language client with ILanguageClient in C# as I launch the project and open a cpp file, nothing kicks in breakpoints are disabled I tried: Added a config file to enable the ...
pf12345678910's user avatar
0 votes
0 answers
84 views

vim with csharp-ls - how to disable reference counts?

I am on Debian bookworm and using Vim 9.0 with Coc plugin setup with csharp-ls as the language server for C#. I cannot figure out how to disable the reference counts: I have tried adding: "...
tech-ebe's user avatar
0 votes
1 answer
195 views

VSCode Language Client extension - how does client receive message from the server (in 2024)?

I want to write a VSCode extension that receives response from the LSP server. From the client to the server was easy. You only need to call client.sendRequest. It's also easy to use built-in methods. ...
盛安安's user avatar
  • 1,201
0 votes
0 answers
234 views

How do I get hover information from an LSP back-end in a VSCode extension front-end?

I'm a programming newbie who wants to implement a VSCode extension and now I want to display some information while hovering over some code snippet in VSCode. There was already an LSP back-end written ...
盛安安's user avatar
  • 1,201
0 votes
0 answers
109 views

QuickFix in Custom Language(Xtext) using Language Server Protocol

I am very new to Language Server Protocol. I have all the xtext related files ie. content assist, validation, quick fixes etc in eclipse and our client is intellij. I want to implement quickfixes ...
A.Goel's user avatar
  • 101
1 vote
1 answer
1k views

getting error while setting up typescript lsp in neovim using lazy package manager

I got the below error in nvim while opening a .ts file. I have used mason, mason-lspconfig and nvim-lspconfig for setting up lsp. For lua loanguage the lsp is working properly. But for ts files, i am ...
user3109582's user avatar
0 votes
0 answers
36 views

Implement Go to Definition feature in my VS Code extension

I am trying to implement Go to Definition feature in my VS Code extension. I was able to retrieve the location coordinates (start, end). But my cursor location is not getting updated I created a ...
user23388833's user avatar

1
2 3 4 5
9