Live data from Hacker News

Claude Code LSP

karanbansal.in

21–30 of 43 posts

Re: Claude Code LSP

#22
For what's it's worth I never enabled anything and it proactively encouraged me to install various lsp plugins and prompted me to accept to install in most languages I've tried.

Re: Claude Code LSP

#23

LSPs suck. Compilers should be able to re-use their cache for queries, interfaced with through a simple CLI. They should not need more RAM than what the compiler uses. Most LSPs don't work well for big projects or with non-standard setups like Bazel. Edit: is this really so controversial it has to be downvoted?

Compilers only do one file at a time, but an LSP needs to parse all the files.

Also, an LSP needs to update incrementally when you edit the file, not just when you compile.

Re: Claude Code LSP

#24
post #20

I had great results using this for the past few months, it’s the same idea but implemented as an MCP: https://github.com/oraios/serena

Serena eats context for lunch (and dinner).

Re: Claude Code LSP

#29

LSPs suck. Compilers should be able to re-use their cache for queries, interfaced with through a simple CLI. They should not need more RAM than what the compiler uses. Most LSPs don't work well for big projects or with non-standard setups like Bazel. Edit: is this really so controversial it has to be downvoted?

But now your asking the compiler to also be a daemon. The compiler devs to add and maintain a not insignificant feature. The compiler to keep everything it caches for queries (whoops, look at that RAM usage climb!), and to cache data suitable for answering LSP queries (gosh! It's climbing a lot!)

Why does it need to be a daemon? Why isn't the on-disk cache enough? Running a compiler without making changes is instant. Many operations of LSPs feel slower than compiler's incremental compilation.

What cache is needed that the compiler doesn't already have?

Re: Claude Code LSP

#30
From the intro section:

> That's not an incremental improvement. That's a category change in how Claude Code navigates your code.

I don’t know anything about the human(s) behind this project, assuming there are any, and intend no malice towards them, but when I encounter language like this, it just kills my enthusiasm for a project.

I wonder if that reaction is now, or will become, a majority one, and that AI flavoured language and products will face some audience headwinds if there aren’t indications of some level of human authorship / editing.

Post reply on HN