From 2efce05970c7b8a1284b2a90fddbc1fe7e781ea7 Mon Sep 17 00:00:00 2001 From: Sean Kim Date: Tue, 23 Apr 2024 16:52:18 -0700 Subject: [PATCH] Update docs/handbook/development_environments/vscode.md --- docs/handbook/development_environments/vscode.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/docs/handbook/development_environments/vscode.md b/docs/handbook/development_environments/vscode.md index bc9062d0..65045f6e 100644 --- a/docs/handbook/development_environments/vscode.md +++ b/docs/handbook/development_environments/vscode.md @@ -137,9 +137,9 @@ and you may find **Editor: Format On Paste** or other options useful. Blender comes with a specific clang-format executable that can be found in: -- `blender-git/lib//llvm/bin` +- `blender-git/blender/lib//llvm/bin` - e.g. - `~/blender-git/lib/linux_x86_64_glibc_228/llvm/bin/clang-format` + `~/blender-git/blender/lib/linux_x64/llvm/bin/clang-format` In order for the formatting to be correct, VS-Code needs to be pointed to that. In the settings for the C/C++ extension, make sure that: @@ -225,6 +225,10 @@ added to the user `settings.json`. "c": { "begin": "\\{", "end": "\\}" + }, + "cpp": { + "begin": "\\{", + "end": "\\}" } } } -- 2.30.2