4 ms·
> Helix is built from the ground up around Tree-Sitter and LSP And what happens in ten or twenty years, when both are obsolete? I don't really care, what techn
by usrnm 4y ago
> Helix is built from the ground up around Tree-Sitter and LSP
And what happens in ten or twenty years, when both are obsolete? I don't really care, what technologies my text editor is built on top of, but I sure would like to be able to still use it for writing my memoirs when I'm old.
- p-e-w 4y agoLSP will not become obsolete, it will evolve. The entire industry is rallying around LSP, and Microsoft is constantly improving the protocol. In "ten or twenty years" LSP will have become a required feature for every programming language and every text editor. It will be essentially impossible to replace it with any other technology because of the massive investment already made in the ecosystem. I can imagine Tree-Sitter slowly losing importance because LSP is integrating semantic highlighting, but Tree-Sitter will still be an easy option for writing grammars in the absence of a full-featured language server.
- deleted 4y ago[deleted]
- _k9eq 4y agoI can easily imagine a comment like this being written 30 years ago where "LSP" was replaced by "tags files".
- deleted 4y ago[deleted]
- bee_rider 4y agoI mean you still wouldn't use an editor without ctags support, right? That's just a bad smell.
- b3morales 4y agoUnless the protocol changes to specifically address this, I find it unlikely that LSP will ever be a full solution for real-time syntax highlighting. The amount of JSON that has to be slung interprocess on each edit is just too much. Providing extra semantic highlighting on top of a built in option, absolutely, but I don't think it can replace an in-process, specifically incremental option like Tree-sitter or Sublime/TextMate language defs (or a completely custom solution like JetBrains, Nova, etc.).
- agumonkey 4y agoparsing is not a fad it has less chances of becoming obsolete, if any
- norman784 4y ago> And what happens in ten or twenty years, when both are obsolete? I assume helix will be constantly evolving those ten or twenty years.