protobuf-syntax-highlighting
protobuf-syntax-highlighting copied to clipboard
Add canonical .txtpb to ProtobufText extensions
Per https://protobuf.dev/reference/protobuf/textformat-spec/#text-format-files:
.txtpbis the canonical text format file extension and should be preferred to the alternatives. This suffix is preferred for its brevity and consistency with the official wire-format file extension.binpb. The legacy canonical extension.textprotostill has widespread usage and tooling support. Some tooling also supports the legacy extensions.textpband.pbtxt. All other extensions besides the above are strongly discouraged; in particular, extensions such as.protoasciiwrongly imply that text format is ascii-only, and others like.pb.txtare not recognized by common tooling.