apheleia icon indicating copy to clipboard operation
apheleia copied to clipboard

clang-format format protobuf error

Open shuxiao9058 opened this issue 1 year ago • 4 comments

Always add space at begin of file.

shuxiao9058 avatar Nov 03 '24 10:11 shuxiao9058

https://github.com/user-attachments/assets/fb10c606-2ec6-4e64-a7ac-4946e9e0d94d

shuxiao9058 avatar Nov 03 '24 10:11 shuxiao9058

Are those spaces? They look quite strange, do you have the width for leading spaces set to only a few pixels in Emacs? From further down in the same buffer it seems not to match up with other spaces.

Also can you check the output of the same protobuf formatting command run directly? Does that have the same output?

raxod502 avatar Nov 12 '24 02:11 raxod502

It works fine with format-all, and with command line directly, there is no space at the beginning of file.

shuxiao9058 avatar Nov 12 '24 03:11 shuxiao9058

@raxod502

shuxiao9058 avatar Nov 29 '24 13:11 shuxiao9058