Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

GDScript

Godot GDScript language support in Gram is provided by the community-maintained GDScript extension. Report issues to: https://github.com/GDQuest/zed-gdscript/issues

Pre-requisites

You will need:

  • Godot.
  • netcat (nc or ncat) on your system PATH.

Setup

  1. Inside your Godot editor, open Editor Settings, look for Text Editor -> External and set the following options:
    • Exec Path: /path/to/zed
    • Exec Flags: {project} {file}:{line}:{col}
    • Use External Editor: “✅ On”
  2. Open any *.gd file through Godot and Gram 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.