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

Code Standards - clang formatting needs refining #1350

Open
rozniak opened this issue Sep 14, 2021 · 1 comment
Open

Code Standards - clang formatting needs refining #1350

rozniak opened this issue Sep 14, 2021 · 1 comment

Comments

@rozniak
Copy link
Member

rozniak commented Sep 14, 2021

The clang formatting rules are very annoying at the moment. The formatting rules have a habit of shoving literally everything on one line, forcing you to manually undo things to make the code legible again.

Mainly I find this is a problem with shifting brackets and braces onto one line, basically anything that you want to separate on new lines it will squash it all back up.

@MrSapps MrSapps added this to Todo in relive project Dec 4, 2021
@MrSapps
Copy link
Contributor

MrSapps commented Dec 4, 2021

With clang format you can change it to whatever ye like but then reformat before commit to the format file that is in the repo. Probably better than doing another mass clang reformat until the engine code is mostly de-duplicated/addreses removed from vars and manual ctor/dtor calls are gone.

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

No branches or pull requests

2 participants