mreu / ProtobufLanguageService

Protobuf Editor for Visual Studio with Intellisense and Syntax Coloring for Googles Protobuf syntax.
Other
47 stars 13 forks source link

does not support options correctly #16

Open kaynn opened 5 years ago

kaynn commented 5 years ago

ex:

message ChoiceOptions {
    repeated string Choices = 1;
}
extend google.protobuf.FieldOptions {
     ChoiceOptions Choice = 50000;
}
message Test {
      string example = 1 [(Choice) = { Choices : [ "", "a", "b", "c", "d" ] } ]; //this line will not be parsed correctly by the language service
}

you can see what is supported here: https://developers.google.com/protocol-buffers/docs/proto#options

thanks!