-
-
Notifications
You must be signed in to change notification settings - Fork 21.1k
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
Inconsistent formatting before and after braces in source files #29936
Comments
|
|
Is it Ok if I do it manually or using some scripts and make pull request(s)? |
Not until we reach a consensus on whether a given style should be enforced. |
Related: #16521 |
Superseded by #33027. |
Godot version:
Godot master branch d6f8a43
Issue description:
What happened:
Inconsistency 1. Source files sometimes do and sometimes don't seem to have newlines after each function's ending brace.(Marked blue in screenshot).
Inconsistency 2. Source files sometimes do and sometimes don't seem to have newlines after each function's starting brace.(Marked red in screenshot).
What should happen:
Consistent styles regarding above.
Steps to reproduce:
Search sources files.
e.g, Lines after texture.cpp:1155 show an example the 2 formatting inconsistencies.
Minimal reproduction project:
Can clang-format do anything about it?
The text was updated successfully, but these errors were encountered: