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 indent instructions #26

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

gassmoeller
Copy link
Collaborator

Now that we have several people working on the code it would be useful to have a unified style for indentation and brackets. I have some experience with the program astyle (http://astyle.sourceforge.net/), which was build for exactly this purpose. It can run over c++ source and header files and unify indentation and where to put brackets and fix spacing. Unfortunately, I can not exactly reproduce the style of FDPS SPH so far. In particular the indentation of public:/private: is slightly different, and there is an additional space before opening braces. Is this still something that could be useful? It already found a number of places where we accidentally used wrong indentation.

@gassmoeller gassmoeller force-pushed the add_indent_instructions branch 2 times, most recently from 39154a3 to ce0aafc Compare July 11, 2019 20:04
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

Successfully merging this pull request may close these issues.

1 participant