Creating a Language Server for Protocol Buffers
Protols is a Language Server Protocol (LSP) implementation for Protocol Buffers that I wrote in Rust. In this post I will talk about why I built it and some of the interesting bits from the implementation. Why At work, we use a lot of protobuf files. While protobuf is great for defining APIs and data structures, navigating between dozens (sometimes hundreds) of .proto files was painful. I was constantly running grep or using Vim’s search to jump between message definitions, enum declarations, and imports scattered across packages. ...