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

clang-format #331

Closed
RobLoach opened this issue Aug 26, 2024 · 4 comments
Closed

clang-format #331

RobLoach opened this issue Aug 26, 2024 · 4 comments

Comments

@RobLoach
Copy link
Owner

Add a clang-format definition file, and apply its coding standards.

@furudbat
Copy link
Contributor

I was literally in the process of adding an .clang-format for my own fork.

  • try to keep the current format
  • respecting raylib (Name Conventions, etc.)

It needs a bit more fine tuning,
but having an format file and living with it's decision is better then having no file and chaos.

(I personally don't care about formatting, I just run the formatter and learn to read the code)

@furudbat
Copy link
Contributor

I would also recommend adding an .clang-tidy and .cmake-format.yaml file.

@RobLoach
Copy link
Owner Author

Sounds good with me. Thanks a lot.

@RobLoach
Copy link
Owner Author

Here's one that I used on another project. Not sure how well it appllies here tho https://github.com/RobLoach/nuklear_console/blob/master/.clang-format

RobLoach added a commit that referenced this issue Aug 31, 2024
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