Godot is just a hobby of mine, I am a webdev by trade. I like Zed, which is why I threw this together, but I don't know Rust to keep improving it. Since I became a father, time for hobbies is scarce. And I rather want to put it in the game, then use it to keep working on this extension.
This extension adds support for GDScript, the scripting language used in the Godot game engine, to the Zed editor.
- Zed Editor
- Godot Engine (version 3.x or 4.x)
nc(netcat) orncatavailable in your system PATH
- Install this extension in Zed (instructions specific to Zed's extension installation process)
- Ensure Godot is installed on your system
- Set up the Godot language server (see below)
The Godot Language Server should be running separately. Here are the steps to set it up:
- Open your Godot project
- Go to Editor > Editor Settings > Text Editor > External
- Enable "Use External Editor"
- Set "Exec Path" to the path of your Zed executable
- Set "Exec Flags" to
{file}
Then, to start the language server:
- Go to Editor > Editor Settings > Network > Language Server
- Set "Remote Host" to
127.0.0.1 - Set "Remote Port" to
6005 - Restart Godot
This extension assumes the Godot Language Server is running on the default IP 127.0.0.1 and port 6005. If you need to change these settings, you'll need to modify the extension code (for now...)