Skip to content
Pawel Lampe edited this page Mar 2, 2022 · 13 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.
  • VSCode extension - extension that allows one to format and re-order GDScript code within Visual Studio Code.

Topics

Quickstart

  • Install the latest stable version:
pip3 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