STweep Formatter

STweep is the source code formatter for Structured Text and is available as plugin for IDE’s like TwinCAT and Codesys.

Format Structured Text to your standard

Having a consistent code style helps your team to produce high quality code

J

Line breaking

Keep your code clean and automatically break long lines according to your settings 

d

Align code in columns

Align similar code as assignments, expressions, end of line comments and variable declarations in columns 

*

Manage blank lines

Set your preferent number of  blank lines before or after eg. single or multi statements. 

h

Indent

Indent your source code with tabs or spaces. STweep supports several indention styles.

,

Set your spaces

Prefer a space after a comma? STweep helps you to keep your code consistant and sets your horizontal spaces as configured through out your source code

IDE integrated

STweep is available as plugin for several IDE’s as CODESYS, e!Cockpit, ABB Automation Builder and TwinCAT.

Configure your style

Configure a code style based on your preferences. Having a consistent code style through out your projects increases the quality of your code and makes collaboration in a team much easier.

The STweep option editor has an integrated live option preview. This makes it easy to see the affect a settings has on the code style.

Focus on functionality

Don’t lose time on keeping your source code clean. With STweep formatter you can keep your source code clean while you focus on on functionality.

Start improving your ST source code quality today