You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Every code editor uses its own code formatting preset, but I can't figure out which one is being used here.
Proposal: use clang-format to force everything into the same style. The .clang-format file should be respected by most IDEs out there; and otherwise, it's easy enough to just run the command manually before committing.
The text was updated successfully, but these errors were encountered:
My code formatting has specific quirks which make reading code (at least for me) much faster.
I have only seen a few formatting specifications but none had quirks i use. (that's why i call it quirks)
Any ideas?
Yeah, the "quirks" are exactly what I haven't been able to figure out. I've cooked up a .clang-format file that does similar things, but the results aren't perfect. You can check them out here.
Every code editor uses its own code formatting preset, but I can't figure out which one is being used here.
Proposal: use
clang-format
to force everything into the same style. The.clang-format
file should be respected by most IDEs out there; and otherwise, it's easy enough to just run the command manually before committing.The text was updated successfully, but these errors were encountered: