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": "\\}" } } }