Live data from Hacker News

Claude Code gets native LSP support

github.com

11–20 of 352 posts

Re: Claude Code gets native LSP support

#11
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 mechanical python codebase refactors: https://github.com/brian-yu/python-rope-refactor

Been pretty happy with it so far!

Re: Claude Code gets native LSP support

#13
I haven't come across a case where it has used the LSP yet.

Opus 4.5 is fairly consistent in running QA at proper times. Lint checks and all are already incorporated into a standard & native processes outside of IDE. I think lookup can be useful when definitions are hidden deep in hard to reach places on my disk... hasn't been a problem though the agent usually finds what it needs.

Anyway, here is what it stated it could do:

    > Do you have access to an lsp tool?

     Yes, I have an LSP tool with these operations:

    - goToDefinition - Find where a symbol is defined
    - findReferences - Find all references to a symbol
    - hover - Get documentation/type info for a symbol
    - documentSymbol - Get all symbols in a file
    - workspaceSymbol - Search for symbols across the workspace
    - goToImplementation - Find implementations of an interface/abstract method
    - prepareCallHierarchy - Get call hierarchy item at a position
    - incomingCalls - Find what calls a function
    - outgoingCalls - Find what a function calls

Re: Claude Code gets native LSP support

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

If you want to add custom lsps, they need to be wrapped in a Claude code plugin which is where the little bit of actual documentation can be found https://code.claude.com/docs/en/plugins-reference

Re: Claude Code gets native LSP support

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

[deleted]

Re: Claude Code gets native LSP support

#17
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?

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...

Re: Claude Code gets native LSP support

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

[deleted]
Post reply on HN