配置 IDE

假设你已经 克隆编译 了Godot.

你可以使用任何文本编辑器和通过在命令行上调用 scons 来轻松开发Godot, 但是如果你要使用IDE(集成开发环境), 则有一些常用的设置说明:

可以使用其他IDE, 但尚未记录其设置.

If your editor supports the language server protocol, you can use clangd for completion, diagnostics, and more. You can generate a compilation database for use with clangd one of two ways:

  1. # Generate compile_commands.json while compiling
  2. scons compiledb=yes
  3. # Generate compile_commands.json without compiling
  4. scons compiledb=yes compile_commands.json

Previous Next


© 版权所有 2014-present Juan Linietsky, Ariel Manzur and the Godot community (CC BY 3.0). Revision b1c660f7.

Built with Sphinx using a theme provided by Read the Docs.