pbkit / vscode-pbkit

VSCode plugin for Protobuf. Syntax highlight, goto definition and autocompletion.
https://marketplace.visualstudio.com/items?itemName=pbkit.vscode-pbkit
MIT License
22 stars 3 forks source link

protobuf syntax highlight bug #8

Closed disjukr closed 2 years ago

disjukr commented 2 years ago

https://github.com/protocolbuffers/protobuf/blob/master/src/google/protobuf/unittest.proto

import "google/protobuf/unittest_import.proto";
스크린샷 2022-02-15 오후 7 39 24
message TestAllTypes {
  optional group OptionalGroup = 16 {
    optional int32 a = 17;
  }
}
스크린샷 2022-02-15 오후 7 41 01
message TestAllTypes {
  optional protobuf_unittest_import.ImportMessage optional_import_message  = 20;
}
스크린샷 2022-02-15 오후 7 41 56
message TestAllTypes {
  optional protobuf_unittest_import.PublicImportMessage
      optional_public_import_message = 26;
}
스크린샷 2022-02-15 오후 7 42 52
message TestAllTypes {
  oneof oneof_field {
    uint32 oneof_uint32 = 111;
    NestedMessage oneof_nested_message = 112;
    string oneof_string = 113;
    bytes oneof_bytes = 114;
  }
}
스크린샷 2022-02-15 오후 7 44 31
message TestDeprecatedMessage {
  option deprecated = true;
}
스크린샷 2022-02-15 오후 7 45 06
extend TestAllExtensions {
  // Singular
  optional    int32 optional_int32_extension    =  1;
}
스크린샷 2022-02-15 오후 7 45 24