Script Formatter

The Script Formatter tool in Textify allows you to quickly format your active script using the popular autopep8 formatter—ensuring your code is PEP8-compliant, clean, and professional with just one click.


📍 Location

Text Editor Menu → Format → Format with autopep8


⚙️ Requirements

To use the script formatter, you need the following Python modules installed:

  • autopep8

  • pycodestyle (used internally by autopep8)


❓ How It Works

  1. Open a script in Blender’s Text Editor.

  2. Navigate to Format → Format with autopep8.

  3. If autopep8 is installed, your script will be automatically formatted in place.

  4. If not installed, follow the prompt in preferences to install both required modules.

Last updated