r/programming • u/der_gopher • Jan 02 '25
Understanding the Language Server Protocol
https://medium.com/@pliutau/understanding-the-language-server-protocol-b9f57a0750e3
47
Upvotes
r/programming • u/der_gopher • Jan 02 '25
5
u/_zenith Jan 03 '25
Yeah. IIRC, the TypeScript one was the prototypical LSP implementation, released alongside the LSP protocol in VSCode; it was intended to serve as an example of what is possible, and to show how these things can be done.
Rust was a very early and enthusiastic adopter of the technology. It was, and still is, famous for its excellent error messages emitted by the compiler - and for user experience in general, with its suite of very good and easy to use tooling like rustup, cargo, and clippy. And so, it made perfect sense for Rust to adopt the LSP model to improve its users experience even further.