index.rst 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738
  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. visual_studio
  18. visual_studio_code
  19. xcode
  20. It is possible to use other IDEs, but their setup is not documented yet.
  21. If your editor supports the `language server protocol <https://microsoft.github.io/language-server-protocol/>`__,
  22. you can use `clangd <https://clangd.llvm.org>`__ for completion, diagnostics, and more.
  23. You can generate a compilation database for use with clangd one of two ways:
  24. .. code-block:: shell
  25. # Generate compile_commands.json while compiling
  26. scons compiledb=yes
  27. # Generate compile_commands.json without compiling
  28. scons compiledb=yes compile_commands.json