mreu / ProtobufLanguageService

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

Prefixed option names #7

Closed tmakin closed 7 years ago

tmakin commented 7 years ago

Please consider adding support for prefixed option names as described here: https://developers.google.com/protocol-buffers/docs/proto#customoptions

// foo.proto
import "google/protobuf/descriptor.proto";
package foo;
extend google.protobuf.MessageOptions {
  optional string my_option = 51234;
}
// bar.proto
import "foo.proto";
package bar;
message MyMessage {
  option (foo.my_option) = "Hello world!";  //The language service does not like this line
}

I'm running: v1.10.0 on VS 2017

Thanks!

mreu commented 7 years ago

Fixed with version 1.11