From e09eb09f6625b5d407a0a68a050df9ab85bee4a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20Lam?= Date: Sat, 4 Dec 2021 18:46:15 +0100 Subject: [PATCH] contributing: Explain how to clang-format --- Contributing.md | 1 + 1 file changed, 1 insertion(+) diff --git a/Contributing.md b/Contributing.md index 5669f274..2a458db5 100644 --- a/Contributing.md +++ b/Contributing.md @@ -172,6 +172,7 @@ public: * For major differences (lots of entirely red/green/blue lines in the diff), use a capital `M` (major difference) in place of `m`. 9. Before opening a PR, reformat the code with clang-format and run `tools/check`. + * You can use clang-format via your editor – VSCode and CLion have built-in clang-format support — or by calling `git clang-format` (for files you have `git add`ed and not yet committed). ## Non-inlined functions