gdscript.md

 1# GDScript
 2
 3Godot [GDScript](https://gdscript.com/) language support in Zed is provided by the community-maintained [GDScript extension](https://github.com/GDQuest/zed-gdscript).
 4Report issues to: [https://github.com/GDQuest/zed-gdscript/issues](https://github.com/GDQuest/zed-gdscript/issues)
 5
 6- Tree-sitter: [PrestonKnopp/tree-sitter-gdscript](https://github.com/PrestonKnopp/tree-sitter-gdscript) and [PrestonKnopp/tree-sitter-godot-resource](https://github.com/PrestonKnopp/tree-sitter-godot-resource)
 7- Language Server: [gdscript-language-server](https://github.com/godotengine/godot)
 8
 9## Pre-requisites
10
11You will need:
12
13- [Godot](https://godotengine.org/download/).
14- netcat (`nc` or `ncat`) on your system PATH.
15
16## Setup
17
181. Inside your Godot editor, open Editor Settings, look for `Text Editor -> External` and set the following options:
19   - Exec Path: `/path/to/zed`
20   - Exec Flags: `{project} {file}:{line}:{col}`
21   - Use External Editor: "✅ On"
222. Open any \*.gd file through Godot and Zed will launch.
23
24## Usage
25
26When 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.