From d063b785221fb97feeb5cb4774a21b0e29717ec7 Mon Sep 17 00:00:00 2001 From: zxkmm Date: Tue, 23 May 2023 03:58:19 +0800 Subject: [PATCH] Updated Code formatting (markdown) --- Code-formatting.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Code-formatting.md b/Code-formatting.md index a549e0c..d0813b4 100644 --- a/Code-formatting.md +++ b/Code-formatting.md @@ -3,6 +3,9 @@ For this we are using clang format version 13. All the config for this is in the ## VS Code Make sure you have C/C++ extension by Microsoft installed and it should automatically pick up your .clang-format file. If not, you can go to the extension settings and specify the location under the `Clang_format_style` setting +## CLion +CLion has built in clang-format, just press Ctrl + Shift + L (Windows and Linux) to format the code with ``.clang-format`` configure file within project directory. + ## CLI To format using CLI, make sure you have clang-format-13 installed