Live data from Hacker News

Claude Code gets native LSP support

github.com

31–40 of 352 posts

Re: Claude Code gets native LSP support

#31
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 JetBrains generally.

Re: Claude Code gets native LSP support

#32

Maybe I'm the only one, but does anyone else have an issue on macOS where Claude Code never updates itself automatically and you always have an error? I guess it's in times when I leave the CLI tool running and an update comes in overnight. But the alert seems to indicate it should update and fails.

I have the same issue since for ever (and update by hand because of it). I always assumed it is because it gets confused by me using Volta for node/npm version management and Volta‘s shim masking where Claude Code is globally installed.

Re: Claude Code gets native LSP support

#33
post #8

Earlier quoted context omitted.

Your test suite and linter don't code. They don't help your agent look up definitions of variables, etc.

Ah, it's about making language documentation available, and making crawling the app for understanding cheaper/more direct?

It's like making your IDE available to them.

Re: Claude Code gets native LSP support

#34

Maybe I'm the only one, but does anyone else have an issue on macOS where Claude Code never updates itself automatically and you always have an error? I guess it's in times when I leave the CLI tool running and an update comes in overnight. But the alert seems to indicate it should update and fails.

Depends on your installation method. I have CC installed on macOS with `bun install` and it self-updates. But you could have different results with, oh, npm or yarn or homebrew or nix or probably asdfvm or maybe there’s a native .pkg I don’t know about or…you get the idea.

Re: Claude Code gets native LSP support

#36

Maybe I'm the only one, but does anyone else have an issue on macOS where Claude Code never updates itself automatically and you always have an error? I guess it's in times when I leave the CLI tool running and an update comes in overnight. But the alert seems to indicate it should update and fails.

Yeah, I uninstalled and reinstalled with homebrew, and it’s working well now.

Re: Claude Code gets native LSP support

#37

Maybe I'm the only one, but does anyone else have an issue on macOS where Claude Code never updates itself automatically and you always have an error? I guess it's in times when I leave the CLI tool running and an update comes in overnight. But the alert seems to indicate it should update and fails.

Always have a lot of sessions running locally and don’t recall this

Re: Claude Code gets native LSP support

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

Yeah, I posted here because I was completely blindsided when my claude asked if I wanted to install a go lsp. I didnt even know that was a thing. A little googling led to this changelog from 3 days ago, but I was surprised I hadnt seen any previous mentions of this online (from either creators, anthropic, or HN posts).

I am disabling it for now since my flow is fine at the moment, I'll let others validate the usefulness first.

Re: Claude Code gets native LSP support

#40

Earlier quoted context omitted.

Have you figured out what triggers it?

No, and it looks like this functionality was released/announced prematurely: https://github.com/anthropics/claude-code/issues/14803#issue... https://github.com/anthropics/claude-code/issues/13952#issue... https://github.com/anthropics/claude-code/issues/13952#issue...

My permissions prompt isnt quite working right with it either. It pops up but isnt blocking, so claude continues editing and asking for other permissions which replaces this prompt. Then when you confirm those prompts, it shows the LSP prompt again. Definitely needs polish (and explanations on how it even benefits the agent)
Post reply on HN