It is a generic interface which also helps with many capabilities, including proper refactoring, formatting, and the like. Since VSCode does so much through it, basically all nontrivial interaction with the code base can also be used in other editors.
A far cry from the days of sublime text’s regex-based autocomplete
Except it only works for trivial languages.
Re:Atom Was Archived Today
by ParetoOptimal on Friday December 16, 2022 @09:16AM
(#34014673)
What languages do you consider "non-trivial"?
Rust-analyzer works via the LSP, and I'd hardly call Rust "trivial".
Re:Atom Was Archived Today
by bdhcuidbebe on Saturday December 17, 2022 @02:14AM
(#34025599)
Is rust and C++ trivial languages?
It just seems to be a generic interface to describe language bindings, which most text editors have.
In practice it's mostly a bad thing because any advanced language has special needs which will end up difficult to address by funneling everything through a common interface.