Attention: Here be dragons
This is the latest
(unstable) version of this documentation, which may document features
not available in or compatible with released stable versions of Godot.
Checking the stable version of the documentation...
配置 IDE
你可以使用任何文本编辑器和通过在命令行上调用 scons 来轻松开发Godot, 但是如果你要使用IDE(集成开发环境), 则有一些常用的设置说明:
可以使用其他IDE, 但尚未记录其设置.
如果你的编辑器支持 语言服务器协议,那么你可以使用 clangd 来实现代码自动补全、代码诊断以及更多高级功能。你可以通过以下两种方式中的任意一种,生成供 clangd 使用的编译数据库(compilation database):
# Generate compile_commands.json while compiling
scons compiledb=yes
# Generate compile_commands.json without compiling
scons compiledb=yes compile_commands.json