Skip to content
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

clang-format format protobuf error #330

Open
shuxiao9058 opened this issue Nov 3, 2024 · 4 comments
Open

clang-format format protobuf error #330

shuxiao9058 opened this issue Nov 3, 2024 · 4 comments

Comments

@shuxiao9058
Copy link

shuxiao9058 commented Nov 3, 2024

Always add space at begin of file.

@shuxiao9058
Copy link
Author

Screen.Recording.2024-11-03.at.18.33.29.mov

@raxod502
Copy link
Member

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?

@shuxiao9058
Copy link
Author

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

@shuxiao9058
Copy link
Author

@raxod502

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

No branches or pull requests

2 participants