Skip to the main content

Godot Engine

Auto indent the code

CmdI

Mac Desktop app Godot Engine 4.6 editor

Practice this

To auto indent the code in Godot Engine, press Ctrl + I. On a Mac, press Cmd + I instead.

Where it works: Script editor

Every documented variant

Variants of this shortcut
System Environment Keys
Mac Desktop app CmdI
Windows Desktop app CtrlI

Where this comes from

Default editor shortcuts - Godot Engine 4.6 documentation

Documentation checked on 2026-09-14. That is a documentation review, not a test run inside the application.

Report a correction