Global Code formatting OCCT 7.9 #273
dpasukhi
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Dear OCCT Community,
We are excited to announce that OCCT 7.9 will feature a fully automated code formatting system! This significant update will enforce a consistent code style across the entire OCCT codebase, improving readability and maintainability.
*The pull request implementing these changes is undergoing final reviews and will be merged soon.
We have transitioned to using the clang-format code style, which has been integrated via GitHub Pull Request #246
Additionally, the method guards will be updated in .cxx files from the following format:
to the following format:
Potential Challenges and Solutions:
git blame
can handle whitespace changes with specific flags, this adds complexity.git blame
. Most GUI Git clients also have options to ignore whitespace changes by default.git diff
) will likely become unusable due to widespread formatting changes.Benefits:
We hope that you find these changes to be beneficial. If you have any questions, please do not hesitate to contact us.
Thank you for your support of OCCT!
Sincerely,
The OCCT3D Development Team
Beta Was this translation helpful? Give feedback.
All reactions