'Linting (syntax highlights) of proto3 in vscode
Is there a way to syntax highlight (listing) of proto3 files in vscode? I've tried to use vscode-proto3, Protobuf Lint plugins, but no success so far. For example for the following example it should highlight Date with red as it's not defined nor imported.
syntax = "proto3";
message Person {
int32 age = 1;
string first_name = 2;
string last_name = 3;
// Date IN THE FOLLOWING LINE SHOULD BE HIGHLIGHTED WITH RED
Date birthday = 9;
}
Solution 1:[1]
vscode-protolint also does linting your case.
It supports a rich set of rules backed by protolint.
Make sure protolint is installed and available in your PATH.
Note: I've maintained protolint.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | yoheimuta |
