NuTo
Numerics Tool
|
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
However, every decent editor should support clang format, below are some instructions.
https://github.com/rhysd/vim-clang-format
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
(not much experience myself, but I found promising instructions here)
m
const
as possibleprivate
/protected
as possibleExample code: look in a file
In addition, read this and do exactly the opposite.