NuTo
Numerics Tool
Coding Style

use clang-format

Clang-format is a tool that automatically beautifies the source code. The settings are defined in .clang-format (and we can discuss them - have a look at this for some instructions). Use it in the command line with

1 clang-format -i somefile

However, every decent editor should support clang format, below are some instructions.

vim

https://github.com/rhysd/vim-clang-format

clion

1) via the ClangFormatIJ plugin (goto settings, plugins, install it) 2) by defining clang-format as an external tool

It is certainly convenient to add a keybinding for it (settings, keybinding, search for "clang" and assign a key

QtCreator

(not much experience myself, but I found promising instructions here)

Commit messages

Read this

other

Example code: look in a file

In addition, read this and do exactly the opposite.