Something went wrong. Try again.
fork of gpui
Something went wrong. Try again.
title: GDScript description: "Configure GDScript language support in Zed, including language servers, formatting, and debugging." #
GDScript #
Godot GDScript language support in Zed is provided by the community-maintained GDScript extension. Report issues to: https://github.com/GDQuest/zed-gdscript/issues
- Tree-sitter: PrestonKnopp/tree-sitter-gdscript and PrestonKnopp/tree-sitter-godot-resource
- Language Server: gdscript-language-server
Pre-requisites #
You will need:
- Godot.
- netcat (
ncorncat) on your system PATH.
Setup #
- Inside your Godot editor, open Editor Settings, look for
Text Editor -> Externaland set the following options:- Exec Path:
/path/to/zed - Exec Flags:
{project} {file}:{line}:{col} - Use External Editor: "✅ On"
- Exec Path:
- Open any *.gd file through Godot and Zed will launch.
Usage #
When Godot is running, the GDScript extension will connect to the language server provided by the Godot runtime and will provide jump to definition, hover states when you hold Ctrl/cmd and other language server features.