Add Clangd instructions for VS Code (#6012)

Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
This commit is contained in:
Calandiel
2022-07-31 23:25:37 +02:00
committed by Hugo Locurcio
parent 9ed0d71357
commit 3c345186c3

View File

@@ -11,6 +11,9 @@ Importing the project
- Make sure the C/C++ extension is installed. You can find instructions in
the `official documentation <https://code.visualstudio.com/docs/languages/cpp>`_.
Alternatively, `clangd <https://open-vsx.org/extension/llvm-vs-code-extensions/vscode-clangd>`_
can be used instead.
- When using the clangd extension, run ``scons compiledb=yes``.
- From the Visual Studio Code's main screen open the Godot root folder with
**File > Open Folder...**.
- Press :kbd:`Ctrl + Shift + P` to open the command prompt window and enter *Configure Task*.