Re:Stack Graphs
by dcreager on Thursday December 09, 2021 @03:13PM
(#29502331)
The most straightforward option would probably be to write an LSP wrapper around the stack graphs code. One of the people on my team wrote a very “contrib directory” version of that for internal testing, which lets us test our stack graph rules for a new language in something like VS Code before deploying to production. If someone were to write a more polished version of that, that would be a great way to get code nav into any LSP-compatible editor for any language that supports stack graphs.
[ Parent
| on HN ]
> One of the people on my team wrote a very “contrib directory” version of that for internal testing
If that is open-source, could you please share a link to it?
I'm curious what advantages this "stack-graphs LSP wrapper" has over existing language-specific LSP servers for an editor/IDE, maybe lower memory usage or better performance?