index.rst 1.2 KB

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