SQL Formatter built into dbForge Studio for PostgreSQL is a sophisticated tool that helps create readable, clear, and accurate code. The tool allows performing bulk formatting of files or file directories using SQL Formatter Wizard.
Note
SQL Formatter is available starting with the Professional edition of dbForge Studio for PostgreSQL.
To format files and folders
1. Open SQL Formatter Wizard. To do that, on the Tools menu, click SQL Formatter.
2. In the SQL Formatter Wizard that opens, select one of the formatting modes and click Next:

3. For the Directories formatting mode:

4. For the Files formatting mode:

5. In the notification pop-up window, click OK.

After the formatting is complete, the formatted files will open in the SQL editor (if the Keep modified files open after formatting option is selected).
