Trim Whitespace

The Trim Whitespace tool is a simple yet essential utility for cleaning your scripts. It removes unnecessary leading and trailing whitespace to help keep your code neat and clean.


📍 Location

You can access Trim Whitespace from the:

Right-Click Context Menu in the Text Editor

Trim Whitespace

Note: The option will only appear if there’s leading or trailing whitespace detected in the script.


How to Use?

  1. Open a script in the Text Editor.

  2. Right-click anywhere in the editor.

  3. If the script contains whitespace at the beginning or end of any line, the Trim Whitespace option will be visible.

  4. Click the button to automatically clean the script.

Last updated