index.rst 1.1 KB

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