Skip to content

Code conventions

Added a git commit template file. You can set it as your git commit template using git config commit.template .gitmessage from within the repository.

Added clang-format formatting file. You can install clang-format from conda. It is a tool that will format your code to a set of given rules. In QtCreator you can enable the Beautifier plugin and use clang-format with it. For that enable the plugin and go to the plugins preferences. There you can set a custom style, where you would paste the contents of the clang-format file from this repository into.

Before approving, test the git commit template and check if it is appropriate. Also test clang-format and whether or not it formats files in a way that fits Met.3D. You can load and modify the file on this webpage.

Edited by Thorwin Vogt

Merge request reports