3 ms·
I don't know what LSP is or why you'd think it's anything special or game-changing. It just seems to be a generic interface to describe language bindings, whic
by mgaunard 4y ago
I don't know what LSP is or why you'd think it's anything special or game-changing.
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.
- rtpg 4y agoIt 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
- mgaunard 4y agoExcept it only works for trivial languages.
- ParetoOptimal 4y agoWhat languages do you consider "non-trivial"?
- Sharlin 4y agoRust-analyzer works via the LSP, and I'd hardly call Rust "trivial".
- bdhcuidbebe 4y agoIs rust and C++ trivial languages?
- mgaunard 4y agoIt doesn't really work with C++.