STweep Formatter

STweep is the source code formatter for Structured Text and is available as plugin for IDEs as 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 IDEs 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.

Trusted by

Many companies already put their trust in STweep to enhance and maintain a high code quality standard. A grasp of our clients:

STweep makes it so easy to have clean consistent looking code, with all variables and method calls aligned that I don’t even have to think about it anymore!

Dustin Hullet

Senior control engineer, JR Automation

Neat, well laid out code is easier to read and understand, and makes it easier to share code between collaborators. STweep makes it effortless to do this, leaving me to just write code.

Roger Christopher

Owner at, Red Rock Controls

Start improving your ST source code quality today