Files
2023-05-28 08:46:21 +02:00

40 lines
1.1 KiB
ReStructuredText

.. _doc_configuring_an_ide:
Configuring an IDE
==================
We assume that you have already `cloned <https://github.com/godotengine/godot>`_
and :ref:`compiled <toc-devel-compiling>` Godot.
You can easily develop Godot with any text editor and by invoking ``scons``
on the command line, but if you want to work with an IDE (Integrated
Development Environment), here are setup instructions for some popular ones:
.. toctree::
:maxdepth: 1
:name: toc-devel-configuring_an_ide
android_studio
clion
code_blocks
kdevelop
qt_creator
rider
visual_studio
visual_studio_code
xcode
It is possible to use other IDEs, but their setup is not documented yet.
If your editor supports the `language server protocol <https://microsoft.github.io/language-server-protocol/>`__,
you can use `clangd <https://clangd.llvm.org>`__ for completion, diagnostics, and more.
You can generate a compilation database for use with clangd one of two ways:
.. code-block:: shell
# Generate compile_commands.json while compiling
scons compiledb=yes
# Generate compile_commands.json without compiling
scons compiledb=yes compile_commands.json