Sfoglia il codice sorgente

Add Clangd instructions for VS Code (#6012)

Co-authored-by: Hugo Locurcio <[email protected]>
Calandiel 3 anni fa
parent
commit
934aaf70cd

+ 3 - 0
development/cpp/configuring_an_ide/visual_studio_code.rst

@@ -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*.