Live data from Hacker News

Claude Code gets native LSP support

github.com

91–100 of 352 posts

Re: Claude Code gets native LSP support

#91

I really can't understand why JetBrains hasn't integrated its refactoring tools into the AI system. Really missed the boat on making their platform transformational for AI coding. Imagine how much smaller the context would be for a tool that renames a function than editing hundreds of files. This LSP support is a good start but without the mutation functions it is still pretty lackluster. Plus LSPs aren't as good as…

When you become complacent and your ego isn’t checked, you think you have the hottest thing. Hubris is hard. They had a pretty big moat that they let vscode eat away at. I don’t think they saw any of this coming and are struggling to make sense of it.

Re: Claude Code gets native LSP support

#92

Earlier quoted context omitted.

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 mean I tried Zeds implementation with OpenCode was working fine but yeah the whole standards part is really complicated right now. I can't keep track of it. I hear about A2A but did not know it was merged with ACP.

My beef with zeds implementation is they haven’t kept it up to date. I really like the ide integration but when you don’t support half the things that make Claude code really nice, like hooks, it kinda defeats the purpose

Re: Claude Code gets native LSP support

#93
post #85

I really can't understand why JetBrains hasn't integrated its refactoring tools into the AI system. Really missed the boat on making their platform transformational for AI coding. Imagine how much smaller the context would be for a tool that renames a function than editing hundreds of files. This LSP support is a good start but without the mutation functions it is still pretty lackluster. Plus LSPs aren't as good as…

I completely agree. Likewise I'm amazed Microsoft hasn't done it themselves for Roslyn and Copilot. Roslyn analyzers are so incredibly powerful, and it's being ignored. An explainer for others: Not only can analyzers act as basic linters, but transformations are built right in to them. Every time claude does search-and-replace to add a parameter I want to cry a little, this has been a solved science. Agents + Roslyn…

Is Roslyn available only for .NET?

Re: Claude Code gets native LSP support

#94
post #74

Earlier quoted context omitted.

tbf, OpenCode's development cycle seems pretty fast. If someone announced AGI in the morning, I'd bet they have it integrated by EOD. I also use OpenCode extensively, but bounce around to test out the other ones.

I just started playing with OpenCode over the weekend after working with aider and aider-ce, and I like a lot of things about it, though I miss some aider features. What other code helpers have you worked with?

The big players (Gemini, Claude Code, Codex) and then aider and opencode for open source.

I keep my setup modular/composable so I can swap pieces and keep it usable by anyone (agent, human, time traveler) depending on what the task needs. In the aughts I standardized on "keep worklogs and notes on tools and refine them into runbooks" so that has translated pretty well to agentic skills/tools. (a man page is a perfectly cromulent skill, btw.)

Re: Claude Code gets native LSP support

#95
post #59

I really can't understand why JetBrains hasn't integrated its refactoring tools into the AI system. Really missed the boat on making their platform transformational for AI coding. Imagine how much smaller the context would be for a tool that renames a function than editing hundreds of files. This LSP support is a good start but without the mutation functions it is still pretty lackluster. Plus LSPs aren't as good as…

I think they are completely screwing up the AI integration. After years of JetBrains PyCharm pro I'm seriously considering switch to cursor. Before supermaven being acquired, pycharm+supermaven was feeling like having superpowers ... i really wish they will manage to somehow catch up, otherwise the path is written: crisis, being acquired by some big corp, enshitification.

JetBrains has AI support. It's a bit janky right now, but it is definitely getting better.

They have an MCP server, but it doesn't provide easy access to their code metadata model. Things like "jump to definition" are not yet available.

This is really annoying, they just need to add a bit more polish and features, and they'll have a perfect counter to Cursor.

Re: Claude Code gets native LSP support

#97

I really can't understand why JetBrains hasn't integrated its refactoring tools into the AI system. Really missed the boat on making their platform transformational for AI coding. Imagine how much smaller the context would be for a tool that renames a function than editing hundreds of files. This LSP support is a good start but without the mutation functions it is still pretty lackluster. Plus LSPs aren't as good as…

People keep saying how amazing IntelliJ is at refactoring, but then you realize the talk about "rename thing" and "extract function". This is 5% of what refactoring is, the rest is big scale re-architecting code where these tools are useless. The agents can do this big scale architecturing if you describe exactly what you want. IntelliJ has no moat here, because they can do well 5% of what refactoring is.

I think that the commonly used refactoring functions would make a big difference and right now most IDEs are pretty bad at them (especially across all the languages jetbrains supports):

  - rename variable/function
  - extract variable/function
  - find duplicate code
  - add/remove/extract function parameter
  - inline a function
  - moving code between classes
  - auto imports
Others are used more rarely and can probably be left out but I do think it would save a lot of tokens, errors and time.

Re: Claude Code gets native LSP support

#98

Is there a way to automatically run tests every file change, like post tool somehow, so that it returns a concise test run back to the LLM every tool use? That seems like it would be useful.

Yes, you can do this with hooks: https://code.claude.com/docs/en/hooks

Re: Claude Code gets native LSP support

#99
post #89

Earlier quoted context omitted.

augmentcode has a great plugin for pycharm (and all jetbrains products) if you don't want to throw the baby out with the bathwater.

Actually currently I'm using augment, it's good, but still subpar when compared to old supervmaven or cursor. One thing that I'm really missing is the automatic cursor move.

Interesting, I have completely stopped using the editor at this point and do everything through the agent except reading diffs.

Re: Claude Code gets native LSP support

#100
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!

I am on the latest version of Claude Code and nothing comes up when I follow this and search for "mcp". Looks like this feature is quite undercooked at the moment. I'm hoping for a more straightforward way to enable this and ensure the LSP is being used by Claude in the future.
Post reply on HN