Skip to content

didier-v/GDBeautifier

Repository files navigation

GDBeautifier

A GDScript beautifier for Godot Engine

image

Requirements

This addon is compatible with Godot 4.

Features

GDBeautifier performs several cleaning tasks.

  • Removes spaces and tabs in empty lines
  • Removes spaces at the end of lines
  • Removes empty lines at the end of a script
  • Adds spaces around operators
  • Adds a space after commas and colons
  • Adds 2 empty lines before any function

The addon ignores anything inside strings and comments.

Installation

Add the addons folder to your project, and enable it in the plugins panel of the project settings.

Usage

The beautifier panel is in the top left dock. It appears when the script editor is visible and a script is selected. Select the desired options and click on beautify. The current script will be beautified. You can undo if you change your mind.

Licence

Apache License 2.0

About

A GDScript beautifier plugin for Godot

Resources

License

Stars

Watchers

Forks

Packages

No packages published