StubLSP: LSP for languages without LSP that treats file as plain text #6731
Unanswered
IvanGoncharov
asked this question in
Ideas
Replies: 1 comment
-
Have a look at #3328 (comment) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Helix splits my UX into two categories:
I need autocomplete for my workflow that works without LSP: #3328 (comment)
So I'm stuck doing local builds of #3328 that @estin heroically rebases for almost a year.
Moreover, I see other people trying to push different features to work without LSP.
Today I saw yet another one here: #3436 (comment)
I sympathize with a Helix developer's attempt to keep the architecture simple.
And it's great that all IDE-like features are delegated to LSP and implementing fallbacks for every feature increase core size.
So I have this idea: Can we have a stub LSP that is by default applied to all languages without LSP?
That stub LSP can implement all LSP-like features but treat input as plain text.
In situations where TreeSitter grammar is available, it can make StubLSP a little bit smarter (e.g. distinguish between keywords and identifiers).
In an ideal world, I would like specialized LSP plugins to existing for every file format I used
but realistically speaking StubLSP would be a great DX boost for me today.
So my question for Helix devs:
P.S. I would love to work on StubLSP myself, but I'm overburdened with my own OSS projects and also have zero Rust knowledge.
So this idea along with the
StubLSP
name can be used by anyone who wants to build PoC.Beta Was this translation helpful? Give feedback.
All reactions