Replies: 1 comment 2 replies
-
I'm all for it. I don't want to think about formatting, and don't like to read code that is formatted differently in different places. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This can simplify code editing, and PRs will be autoformatted. Code formatting can be automated via editors and cli-tools, also checks can be added.
I suggest to use
clang-format
-based automation. Qt Creator supports it too.Some (any) style can be chosen (f.e., from KDevelop).
If it is welcomed by the maintainers and community, we (my team) can PR some
.clang-format
config with corresponding CI config to check PRs, and maybe other automation features (f.e. pre-commit).Beta Was this translation helpful? Give feedback.
All reactions