Skip to content
Pawel Lampe edited this page Nov 17, 2025 · 15 revisions

GDScript Toolkit provides a set of tools for daily work with GDScript in Godot 3.x releases.

At the moment it provides:

  • formatter - application that formats the code strictly to the GDScript style guidelines.
  • linter - application that looks for potential problems in the code.
  • parser - application that checks if the code conforms to the GDScript syntax.
  • emacs mode - module that allows one to format GDScript buffers inplace.

Topics

Quickstart

  • Install the latest stable version:
pip3 install gdtoolkit
# or
pipx install gdtoolkit
  • Format the file:
gdformat source/Game.gd
  • Lint the file:
gdlint source/Game.gd
  • Parse the file and pretty-print a parse tree:
gdparse -vp source/Game.gd

Clone this wiki locally