diff --git a/docs/source/devguide/styleguide.rst b/docs/source/devguide/styleguide.rst index 562b75e89..a46744a3f 100644 --- a/docs/source/devguide/styleguide.rst +++ b/docs/source/devguide/styleguide.rst @@ -12,6 +12,14 @@ adding new code in OpenMC. C++ --- +.. important:: To ensure consistent styling with little effort, this project + uses `clang-format `_. The + repository contains a ``.clang-format`` file that can be used to + automatically apply the style rules that are described below. The easiest + way to use clang-format is through a plugin/extension for your editor/IDE + that automatically runs clang-format using the ``.clang-format`` file + whenever a file is saved. + Indentation -----------