News for hackers. Stuff that matters.
Re:Helix: A Neovim inspired editor, written in Rust by usrnm on Monday October 10, 2022 @03:38AM (#33148791)
> 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.

Re:Helix: A Neovim inspired editor, written in Rust by p-e-w on Monday October 10, 2022 @03:50AM (#33148860)
LSP 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.

Re:Helix: A Neovim inspired editor, written in Rust by daptaq on Monday October 10, 2022 @06:01AM (#33149592)
I can easily imagine a comment like this being written 30 years ago where "LSP" was replaced by "tags files".
Re:Helix: A Neovim inspired editor, written in Rust by bee_rider on Monday October 10, 2022 @12:58PM (#33153778)
I mean you still wouldn't use an editor without ctags support, right? That's just a bad smell.
Re:Helix: A Neovim inspired editor, written in Rust by b3morales on Monday October 10, 2022 @11:55AM (#33152995)
Unless 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.).
Re:Helix: A Neovim inspired editor, written in Rust by agumonkey on Monday October 10, 2022 @04:31AM (#33149124)
parsing is not a fad it has less chances of becoming obsolete, if any
Re:Helix: A Neovim inspired editor, written in Rust by norman784 on Monday October 10, 2022 @04:31AM (#33149126)
> And what happens in ten or twenty years, when both are obsolete?

I assume helix will be constantly evolving those ten or twenty years.