Way to reset tabulation in scripts

I don’t know if I should ask this here or in scripting, but this isn’t related to programming itself but about how to format.

The issue is I’ve taken a bad habit of “flattening” scripts, removing all tab spaces. This makes the scripts hard to read. Is there a quick and easy way to reset this? (like how roblox auto tabs text when writing, for example inside loops) and make the script cleanly tabbed again?

Right click in the script editor. Under Format, you can either Format Selection or Format Document, which will perforn the formatting behavior

1 Like