Skip to content

protobuf syntax highlight bug #8

Closed
@disjukr

Description

@disjukr

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions