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 a clang-format format file #739

Open
theoparis opened this issue Nov 18, 2024 · 1 comment
Open

Add a clang-format format file #739

theoparis opened this issue Nov 18, 2024 · 1 comment

Comments

@theoparis
Copy link

theoparis commented Nov 18, 2024

I was looking to make a improved version of #50, which I needed to have implemented along with the knob widget change for a mini DAW implementation. I was also considering making a SDL3 GPU api PR in the future if no one else does it. However, I noticed that there is no .clang-format file and I am assuming the defaults for clang-format would mess up any PR that it is applied to.

This would probably introduce some formatting changes, but it would make it easier to contribute if formatting on saving is enabled (a feature in most IDEs). This also means there would be a standard for styling code, instead of just saying it has to be "consistent".

@RobLoach
Copy link
Contributor

Feel free to submit a .clang-format that makes closely to what's currently there.

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

No branches or pull requests

2 participants