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?
One of the many advantages of LSPs is that they can continue to work even under the condition of compilation error.
Re: Claude Code LSP
#41This is not unique to LSPs, a good compiler will do the same.