Skip to content
Buf·

🛠️Buf LSP Server Adds Protobuf Support for IDEs

Protobuf users get better code completion and diagnostics

TL;DR

The Buf LSP server now supports Protobuf, offering features like go-to-definition and syntax highlighting. It integrates with VSCode and Neovim, enhancing developer workflows.

Buf has released an LSP server that now supports Protobuf, a major win for developers using this language in their projects. This new tool offers advanced IDE features such as code completion, semantic highlighting, and better diagnostics, making development more efficient. It's especially useful for those working with large-scale Protobuf modules, thanks to its incremental compilation capabilities. The Buf LSP server is part of a suite of tools that includes Protovalidate, ConnectRPC, and the Buf Schema Registry, all designed to enhance the Protobuf ecosystem.

Buf LSP Server Adds Protobuf Support for IDEs — Buf

Key Points

1

The Buf LSP server supports Protobuf with advanced IDE features such as go-to-definition and syntax highlighting

2

It integrates seamlessly into popular editors including VSCode and Neovim, enhancing developer productivity

3

Google uses Buf's protocompile implementation alongside protoc in some parts of its codebase for improved performance

4

The LSP server is designed to handle large Protobuf workspaces with incremental compilation capabilities

5

Future updates will include automatic fixes for imports and Protovalidate support

Why It Matters

If you're working on a Protobuf project in VSCode or Neovim, the Buf LSP server offers better diagnostics and code completion. Google itself uses this tool alongside protoc, highlighting its reliability. For teams managing large-scale Protobuf modules, incremental compilation can significantly speed up development cycles.

protobuffvscodeneovimbuf-lsp-server

Frequently Asked Questions

Why does this matter?

If you're working on a Protobuf project in VSCode or Neovim, the Buf LSP server offers better diagnostics and code completion. Google itself uses this tool alongside protoc, highlighting its reliability. For teams managing large-scale Protobuf modules, incremental compilation can significantly speed up development cycles.

What happened?

The Buf LSP server now supports Protobuf, offering features like go-to-definition and syntax highlighting. It integrates with VSCode and Neovim, enhancing developer workflows.

Comments

Subscribe to join the conversation...

Be the first to comment

Enjoyed this article?

Get it daily. 7am. Free. Reads in 5 minutes.

Join 3,086 builders reading daily.

Also get