From 6d139af553594afe81a37792b881e69e9cfac81f Mon Sep 17 00:00:00 2001 From: fourtf Date: Mon, 14 Oct 2024 20:10:59 +0200 Subject: [PATCH] Add hint to enable beautifier extension in Qt Creator (#5650) --- BUILDING_ON_WINDOWS.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/BUILDING_ON_WINDOWS.md b/BUILDING_ON_WINDOWS.md index 2449a329d..7af9b9a9a 100644 --- a/BUILDING_ON_WINDOWS.md +++ b/BUILDING_ON_WINDOWS.md @@ -170,9 +170,10 @@ To automatically format your code, do the following: 1. Download [LLVM 16.0.6](https://github.com/llvm/llvm-project/releases/download/llvmorg-16.0.6/LLVM-16.0.6-win64.exe) 2. During the installation, make sure to add it to your path -3. In Qt Creator, Select `Tools` > `Options` > `Beautifier` -4. Under `General` select `Tool: ClangFormat` and enable `Automatic Formatting on File Save` -5. Under `Clang Format` select `Use predefined style: File` and `Fallback style: None` +3. Enable Beautifier under `Extensions` on the left (check "Load on start" and restart) +4. In Qt Creator, Select `Tools` > `Options` > `Beautifier` +5. Under `General` select `Tool: ClangFormat` and enable `Automatic Formatting on File Save` +6. Under `Clang Format` select `Use predefined style: File` and `Fallback style: None` ### Building on MSVC with AddressSanitizer