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

Add .clang-format #56

Open
StellaSmith opened this issue Aug 30, 2021 · 2 comments
Open

Add .clang-format #56

StellaSmith opened this issue Aug 30, 2021 · 2 comments

Comments

@StellaSmith
Copy link
Contributor

I have format-on-save enabled on my editor, and since this project's code style differs from my default I had to disable in this project.

@xissburg
Copy link
Owner

This would be nice to have, but I am lazy and it will take a while to get the configuration right. I'll give it a shot.

@xissburg
Copy link
Owner

xissburg commented Apr 1, 2022

I have tried setting up a .clang-format in this project but was unable to find a satisfying configuration. It can be difficult because there are places where I want a certain aesthetic but the exact same formatting is enforced on every file. E.g. there are specific parts where I want the assignments to be aligned. I am not sure if that can be achieved.

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