Documentation
What zed-godot-enhanced does, what it needs, and how this documentation is organised.
zed-godot-enhanced is a Zed extension for Godot projects. It connects Zed to the GDScript language
server and the debug adapter that the Godot editor runs, and it adds syntax highlighting and
outlines for GDScript (.gd), GDShader (.gdshader, .gdshaderinc) and Godot resource files
(.tscn, .tres, .godot, .import, .gdextension). It does not analyse GDScript itself:
completion, hover and go to definition come from the running Godot editor. Shaders get the same
from the standalone GDShader language server, gdshader-lsp.
Start here
- InstallBuild the extension and install it as a Zed dev extension.
- Connect to GodotEnable the language server in Godot and, if needed, set host and port in Zed.
- DebugLaunch or attach to a game from the Zed Debug UI.
Pages
- InstallationBuild the extension for wasm32-wasip1 and install it in Zed as a dev extension.
- ConfigurationEnable Godot's language server, set host and port in Zed, and open files in Zed from Godot.
- Running scenesRun the open scene or the whole project from the ▶ buttons in Zed.
- DebuggingLaunch or attach to a Godot game from the Zed Debug UI with .zed/debug.json.
- ShadersDiagnostics, completion and hover for .gdshader files with the GDShader language server.
- FormattingFormat GDScript on save with an external formatter.