STweep Formatter for CODESYS

The STweep formatter for CODESYS is a source code formatter for Structured Text.


With STweep you can enforce a consisting code style based on your preferences!


"STweep is a must have tool for developers and companies who want to speed up development."

Version: 
2.1.0.0  
Order number: 
2101000014
1 Year: €69.99 plus VAT
  • Buy 5 for €66.50 each and save 5%
  • Buy 10 for €63.00 each and save 10%
  • Buy 20 for €56.00 each and save 20%
  • Buy 50 for €52.50 each and save 25%

STweep Formatter for CODESYS

STweep Formatter for CODESYS

The STweep formatter for CODESYS is a source code formatter for Structured Text.

 

Main functionalities:

  • Configurable code style
  • Line breaking of long lines 
  • Aligning of similar code in columns (e.g. variable declarations and assignments). 
  • Aligning of function call arguments in columns 
  • Configurable indentation style 
  • Set desired number of blank lines.

 

Integration:

STweep for Codesys also supports ABB automation Builder and e!Cockpit. See system requirements for the details.

 

Try Stweep now for free as 30 day demo!

More info at: www.STweep.com

Collapse

Programming System

 * CODESYS Development System V3.5.13.0 or higher

 * ABB Automation Builder 2.3 or higher

 * e!Cockpit 1.7.0.5 or higher

Runtime System

-

Supported Platforms/ Devices

Notice: Use the project ‘Device Reader’ to find out the supported features of your device. ‘Device Reader’ is available for free in the CODESYS Store.

Additional Requirements

-

Restrictions

-

Licensing

License activation optional on CODESYS Key or CODESYS Soft Key (part of CODESYS Development System)

Required accessories

-

Get a free trial license for this product.

STweep Formatter for CODESYS (Demo)

STweep Formatter for CODESYS (Demo)

Version history

Version Release Notes Release date
2.1.0.0

Added

  • Option to place STRUCT keyword on a new line.
  • Option to indent else case in a case statement.
  • Option to add blank lines at the end of a code file.
  • Separate setting for Spaces around argument assignment.
  • "Documentation" command in menu bar.
  • "Report a bug or submit feedback" command in menu bar.

  

Changed

  • Minor UI changes.
  • Updated/improved German translations.
  • Improved STweep menu structure.
  • STweep setting file format for improved handling
  • Improved code readability when wrapping functionblock declarations with EXTEND and IMPLEMENT.
  • Improved code readability when wrapping array initializer.
  • Improved code readability when wrapping struct initializer.

  

Fixed

  • Incorrect formatting of function block initializers without arguments : VAR A : B(); END_VAR
  • Depending on the settings: if the first element in a file was a comment, the number of blank lines between file-start and the comment where not properly set.
  • Depending on the settings: if last element in a file was a comment the number of blank lines between file-end and the comment where not properly set.
  • Incorrect formatting of a statement similar to: 'THIS^.a REF= var;'
  • Depending on the settings: incorrect blank line inserted when multi line comment exceeded the line length limit.
  • Incorrect formatting of pointer to array declaration: "A:POINTER TO ARRAY[0..1] OF BOOL;".
  • Setting "Keep existing blank lines" was not respected at the end of a file.
  • Setting "Keep existing line breaks" was not respected at the end of a file.
  • Number of blank lines at start of file was not correctly set if first element is a comment.
2021-02-09
1.4.2.0

Added

  • Support for inline/local enum declaration. For example VAR A : (A,B,C); END_VAR

Changed

  • A setting row is now selected when the containing setting is changed, this to show the preview.

Fixed

  • Incorrect formatting of function block initializer. fb : fb(arg1,arg2) could lead to a missing parentheses after formatting.
  • Incorrect maintaining of blank lines between statements if there was a comment between the statements.
  • Possible exception when code to format has parsing errors (missing semicolon).
  • Possible exception when aligning long lines in columns.
  • Incorrect indentation of symbolic constants when used as case label.
  • No solution found bug when "Maximum invocation parameters on single line" was set to one and one not last argument had a end of line comment. For example: A(A,//Comment B);
  • Possible bug when "Maximum invocation parameters on single line" was set to "1", this could cause an exception.
  • Exception while formatting a reference declaration with an assignment. For example A : REFERENCE TO BOOL := A.A;
2021-01-11
1.3.2.0

Changed

  • Loading STweep formatting settings with an higher minor version is now allowed.
  • Improved handling for line length overflows in declaration code.

Fixed

  • Unable to format interfaces and methods declared in an interface.
  • Incorrect license display.
  • Incorrect blank space by first statement in a statement list, if there was a preceding comment.
  • Bug where CODESYS sometimes gave an error message, because the abort request was checked from a non UI thread.
  • Incorrect functioning of the formatting time out check.
  • UI was not properly blocked while running the formatting task.

Added

  • Support for line break after TYPE keyword.
  • Support for Import and export of settings.
  • Enhanced error message in case of any formatting exceptions.
  • Caret position is restored after formatting.
  • Optional indentation of derived data types in a 'TYPE' declaration.
  • Support for string size initialization with "(" and ")" for example A:STRING(20);

 

 2020-12-14
1.1.5.0

Fixed

  • Possible licensing bug when licensed in softcontainer.

Added

  • Support for chained method calls e.g.: 'A().B().C();'
  • Support for method and function calls which return a pointer. This can result in method calls like: 'A()^();'
2020-11-23
1.1.3.0

Fixed

  • Potential installation problem for Codesys SP15 and lower.

Added

  • Support for ABB Automation Builder 2.3 and higher.
  • Support for e!Cockpit 1.7.0.5 and higher.
2020-11-02
1.1.1.0

Changed

  • Improved labels for blank line settings.

  • Improved label for blank lines around declarations category.

Added

  • Previews in settings screen.
2020-10-24
1.0.4.0

Added

  • Support for German.

Changed

  • Minor UI improvements.
2020-10-18
1.0.3.0

Fixed

  • Licensing bug
2020-10-13
1.0.2.0

Fixed

  • Missing PInvoke package on installation.
  • Incorrect capital use on manifest file extension.
  • Incorrect capital use on package file extension
2020-10-13
1.0.1.0

Initial Release

2020-10-12

4 Review(s)

Works great Review by Tim
Functionality
Quality
Very helpfull. Saves time to do this manually and keeps everything consistent.
(Posted on 16/01/2021)
A must-have tool! Review by András
Functionality
Quality
Code formatting is important as it saves you time and mental energy.

STweep is not Just Do It - but provides it with exceptional customizability (some sixty options).

Highly recommended product, with a conscientious engineer. (Posted on 04/01/2021)
A must-have tool! Review by András
Functionality
Quality
Code formatting is important as it saves you time and mental energy.

STweep is not Just Do It - but provides it with exceptional customizability (some sixty options).

Highly recommended product, with a conscientious engineer. (Posted on 04/01/2021)
Very good! Review by H. Hermsen
Functionality
Quality
Easy and fast in setup and configuration. Usage is very simple and straightforward. A definite must have for any individual, team or company.

I think this product will also receive new features for further ease of use or improvements i.e. export and import of configuration files in an upcoming release. (Posted on 20/11/2020)

 

Gerhard Barteling

support@stweep.com

Screenshots

Write Your Own Review

Only registered users can write reviews. Please, log in or register