Skip to content

protobuf syntax highlight bug #8

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
disjukr opened this issue Feb 15, 2022 · 0 comments · Fixed by #9
Closed

protobuf syntax highlight bug #8

disjukr opened this issue Feb 15, 2022 · 0 comments · Fixed by #9

Comments

@disjukr
Copy link
Member

disjukr commented Feb 15, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant