logoalt Hacker News

aqula01/15/20262 repliesview on HN

LSP is not great for non-editor use cases. Everything is cursor position oriented.


Replies

HarHarVeryFunny01/15/2026

Yes, something like TreeSitter would seem to be of more value - able to lookup symbols by name, and find the spans of source code where they are defined and used.

show 1 reply
WilcoKruijer01/15/2026

There are actions that don't require cursor position, like document/workspace symbols, that could be useful.