Live data from Hacker News

Claude Code gets native LSP support

github.com

131–140 of 352 posts

Re: Claude Code gets native LSP support

#131

Earlier quoted context omitted.

You could use a CLI frontend for LSP, e.g. https://github.com/valentjn/lsp-cli But why would that be better than LLMs using the LSP with a dedicated tool rather than a shell command tool?

CLIs don't use context space when unused. I find them almost universally preferable just because of that. Models get stupid after the first 80-100k tokens are used so keeping bloated tools out of the window unless completely necessary is a pretty hard requirement for effective AI use IMO.

Well you need to use context space somehow, to tell Claude that the LSP CLI exists and how to use it.

Re: Claude Code gets native LSP support

#132

Earlier quoted context omitted.

They already kinda did. They brough ACP support which allows you to somewhat integrate Claude Code, Gemini CLI or OpenCode they also recently brought BYOK support so you can use an existing provider and don't pay extra subscription for it.

ACP seems super under the radar. It has some support, but it got merged into A2A, which I don't hear anyone talking about, so it seems like it's going to die on the vine.

I think you may be confusing Agent Client Protocol with Agent Communication Protocol.

Re: Claude Code gets native LSP support

#133
The only reason I paid my yearly JetBrains subscription this year was to keep my lower price locked-in. I've been using VS Code all year. I won't renew my JetBrains subscription that I've had since 2009. Sad.

Re: Claude Code gets native LSP support

#134

Earlier quoted context omitted.

What IDE agent gets access to LSP? I use Zed and unless there is some MCP server that provides the same thing as the LSP server, the Zed agent won't have access, even though it's in an IDE that supposedly has this information

Cursor, Copilot, Roo Code, Cline, among others.

Hi, I just looked up and two weeks ago someone made this suggestion in Cursor forum

https://forum.cursor.com/t/support-of-lsp-language-server-pr...

> Feature request for product/service

>

> Cursor IDE

>

> Describe the request

>

> It would be a huge step up if agent could interact with LSP (Language Server Protocol).

>

> It would offer :

>

> renaming all instances of a symbol over all files in one action

> quick navigation through code : fast find of all references to a property or method

> organize imports, format code, etc…

And last Friday a Cursor engineer replied "Thanks for the idea!"

So how does the AI agent in Cursor currently have access to LSP?

(I am most interested in having the agent use LSP for type checking, documentation of a method call, etc. rather than running slower commands)

(note, there is an open PR for Zed to pull LSP diagnostics into an AI agent thread https://github.com/zed-industries/zed/pull/42270 but it would be better if agents could make arbitrary LSP queries or something like that)

Re: Claude Code gets native LSP support

#136

I am super bullish on claude code / codex cli + LSP and other deterministic codemod and code intelligence tools. I was playing around with codex this weekend and honestly having a great time (my opinion of it has 180'd since gpt-5.2(-codex) came out) but I was getting annoyed at it because it kept missing references when I asked it to rename or move symbols. So I built a skill that teaches it to use rope for mechanic…

OpenAI engineer fails to rename references because his F2 key has been replaced with the Copilot button?

No LSP support is wild.

Re: Claude Code gets native LSP support

#138
OpenCode had this for a while and overall has better and nicer TUI. Having said that, for same models, especially with LSP, some fancy MCPs, mgrep, has been doing really bad job lately for me. Not sure why. I expect it will be resolved soon. Otherwise very happy with it.

Claude Code is also solid and this is welcome improvement.

Re: Claude Code gets native LSP support

#140
post #3

It's strangely difficult to find official information about this, but here's what I've learned: • Use `/plugin` to open Claude Code's plug-in manager • In the Discover tab, enter `lsp` in the search box • Use `spacebar` to enable the ones you want, then `i` to install Hope that helps!

Have you figured out what triggers it?

Go to /plugins, then marketplaces, then select official and update marketplace. This did it for me.
Post reply on HN