problem description
the environmental background of the problems and what methods you have tried
proto alignment exception formatted with clang-format, inexplicably added a few spaces
related codes
/ / Please paste the text of the code below (do not replace the code with pictures)
clang-format.exe-I-style= "{AlignConsecutiveAssignments: true,AlignConsecutiveDeclarations: true,AllowShortFunctionsOnASingleLine: None,BreakBeforeBraces: GNU,ColumnLimit: 0Magi IndentWidth: 4Language: Proto}" test.proto
what result do you expect? What is the error message actually seen?
look forward to
message MsgAAA
{
optional int32 code = 1;
optional int64 friend = 2;
optional int32 cid = 3;
}
actual:
message MsgAAA
{
optional int32 code = 1;
optional int64 friend = 2;
optional int32 cid = 3;
}