Skip to content

ianandhum/vscode-protobuf-support

Repository files navigation

Extension Icon   Protobuf Language Support for VS Code (Protols)

VS Code Marketplace Installs

Easily work with Protocol Buffers (.proto files) in Visual Studio Code. This extension provides rich language support for proto3, including syntax highlighting, code navigation, completions, diagnostics, and helpful snippets.

Powered by the protols language server.

Features

  • Syntax Highlighting for .proto files
  • Snippets for common proto3 constructs
  • Go to Definition and Find References
  • Basic Code Completions
  • Diagnostics for errors and warnings

Demo

Below is an example of the extension in action:

Feature Demo

Installation

  1. From Marketplace:
  2. Manual:
    • Download the latest .vsix from Releases and install via Extensions: Install from VSIX... in VS Code.

Getting Started

Open any .proto file to activate the extension. Syntax highlighting and snippets work out of the box.

On first use, the extension will prompt to install the protols language server automatically.

Configuration

  • If protols is not installed in your system PATH, set the path manually in your VS Code settings.json:

    {
      "protobuf-support.protols.path": "/path/to/protols"
    }
  • To install protols manually (requires Rust):

    cargo install protols

Requirements

Attribution

Contributing

Contributions, issues, and feature requests are welcome! Feel free to open an issue or submit a pull request.

License

This project is licensed under the MIT License.

Support

For questions or help, open an issue on GitHub.

About

Protols LSP support for proto3 files in Visual Studio Code

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors