Style Guide
Vikunja uses the style guide of the Computational Radiation Physics group. The style guide is defined in a .clang-format file and can be found here. For correct application of the .clang-format file, please use clang-format version 12.0.1.
Format a single file with:
clang-format -i --style=file <sourcefile>``
Format all files in the project:
find example include test -name '*.hpp' -o -name '*.cpp' | xargs clang-format -i --style=file