vscode-protobuf
vscode-protobuf provides additional features for editing Protocol Buffers and its text format.
Features
- Syntax highlighting for Protocol Buffers and its text format.
- Diagnostic messages (compile & lint) for Protocol Buffers. (
protoc , buf , api-linter )
- Code formatting for Protocol Buffers and its text format. (
clang-format & buf for Protocol Buffers, txtpbfmt for text format)
- Symbol provider for Protocol Buffers.
- Go to definition for Protocol Buffers.
Extension Settings
This extension contributes the following settings:
Setting |
Description |
Default |
protobuf3.compiler.provider |
The compiler to use for compiling Protocol Buffers 3 files. |
protoc |
protobuf3.format.provider |
The formatter to use for formatting Protocol Buffers 3 files. |
clang-format |
protobuf3.linter.provider |
The linter to use for linting Protocol Buffers 3 files. |
api-linter |
protobuf3.protoc.executable |
The path to the protoc executable. |
protoc |
protobuf3.protoc.arguments |
The arguments to pass to protoc. |
[] |
protobuf3.api-linter.executable |
The path to the api-linter executable. |
api-linter |
protobuf3.api-linter.arguments |
The arguments to pass to api-linter. |
[] |
protobuf3.buf.executable |
The path to the buf executable. |
buf |
protobuf3.buf.arguments |
The arguments to pass to buf. |
[] |
protobuf3.clang-format.executable |
The path to the clang-format executable. |
clang-format |
protobuf3.clang-format.arguments |
The arguments to pass to clang-format. |
['-style=google'] |
textproto.format.provider |
The formatter to use for formatting Protocol Buffers Text Format files. |
txtpbfmt |
textproto.txtpbfmt.executable |
The path to the txtpbfmt executable. |
txtpbfmt |
textproto.txtpbfmt.arguments |
The arguments to pass to txtpbfmt. |
[] |
TODO
TODOs are tracked in GitHub issues
Release Notes
0.2.0
- Add symbolProvider for proto3
- Add go to definition for proto3
- Add api-linter integration
0.1.0
Initial release of vscode-protobuf.
| |