STweep Formatter for CODESYS

$89.99
Current version
3.4.0.0
Article number
2101000014
  • Buy 5 for $85.49 each and save 5%
  • Buy 10 for $80.99 each and save 10%
  • Buy 20 for $71.99 each and save 20%
  • Buy 50 for $67.49 each and save 25%

Subscription Details

2021-04-14
Billing Max Cycle Repeats until failed or canceled

The STweep formatter for CODESYS subscription is a source code formatter for Structured Text. With STweep you can enforce a consisting code style based on your preferences! A 30 day demo version is available (please see in the footer).

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

Product Description

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.

 

More info at: www.STweep.com

 

Requirements

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

-

Support


Gerhard Barteling

 

support@stweep.com

This product includes technical support from the original software provider.

To submit your pre-sales request, please use our contact form and include your order number and a short description.

Supplier


Gerhard Barteling

 

support@stweep.com

Additional Downloads

Versions

Version History

Version Release Notes Release date

Added

  • Option to align enum members in columns
  • Option to set line breaking mode for chained methods.
  • Aligning in columns for address assignments.

Changed

  • Chained variable access (A := B.C;) will now preferably break before the dot in case of an line length overflow. This was after the dot.
  • Set line breaks around ‘(‘ , ‘)’ , ‘[‘, ‘]’ are now placed if their construction is multiline. Before this was only the corresponding line break mode was set to “Break of long or multiline” or “Break always.”
  • Function block initializers for arrays are formatted according to the settings for functions block initializers. Before they where formatted according to the array initializers settings.
  • Minor UI Tweaks.
  • Minor translation updates.

Fixed

  • Incorrect formatting of statements containing ‘THIS’ without deference: ‘A(THIS);’
  • Incorrect formatting around statements like: ‘A REF= 0;’.
  • Incorrect formatting and possible exception of an array initializer with a trailing comma.
  • Incorrect formatting and possible exception of a structure initializer with a trailing comma.
  • Incorrect formatting and possible exception of a function block initializer with a trailing comma.
  • Incorrect formatting of array size specifier with a trailing comma.
  • Not working setting setting preview for array initializer indent mode.
2021-04-12

Added

  • Option to set parameter line break mode of structure initializers.
  • Option to place line break after '(' in structure initializer.
  • Option to place line break before ')' in structure initializer.
  • Option to place line break before '(' in structure initializer.
  • Option to set maximum number of parameters in structure initializer.
  • Option to set spaces before structure initializer parentheses.
  • Option to set spaces inside structure initializer parentheses.
  • Option to align structure initializer parameters in columns.
  • Option to align structure initializer parameter assignments in columns.
  • Option to set structure initializer parenthesis indentation style.
  • Option to set parameter line break mode of array initializers.
  • Option to place line break after '(' in array initializer.
  • Option to place line break before ')' in array initializer.
  • Option to place line break before '(' in array initializer.
  • Option to set maximum number of parameters in array initializer.
  • Option to set spaces before array initializer parentheses.
  • Option to set spaces inside array initializer parentheses.
  • Option to align array initializer parameters in columns.
  • Option to align array initializer parameter assignments in columns.
  • Option to set array initializer parenthesis indentation style.
  • Option to set spaces around argument assignment in function block and structure initializers.
  • Option to set parameter line break mode of function block initializers.
  • Option to place line break after '(' in function block initializer.
  • Option to place line break before ')' in function block initializer.
  • Option to place line break before '(' in function block initializer.
  • Option to set maximum number of parameters in function block initializer.
  • Option to set spaces before function block initializer parentheses.
  • Option to set spaces inside function block initializer parentheses.
  • Option to align function block initializer parameters in columns.
  • Option to align function block initializer parameter assignments in columns.
  • Option to set function block initializer parenthesis indentation style.
  • Changed

  • In case of a line length overflow line breaks are not placed directly after a semicolon anymore.
  • Improved line breaking after an assignment operator in case of a line overflow.
  • Minor updates in translations and UI.
  • Fixed

  • Setting "Blank lines after single line case" was not properly loaded in the UI.
  • Setting "Blank lines after multi line case" was not properly loaded in the UI.
  • Setting "Blank lines before single line declaration" was not properly loaded in the UI.
  • Incorrect formatting of a reference assign in a reference declaration : A : POINTER TO B REF= C;
  • Depending on the used settings the number of blank lines at the file end was not correctly set if the last element is a comment.
  • 2021-03-11

    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

    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


    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

    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

    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

    Changed

    • Improved labels for blank line settings.

    • Improved label for blank lines around declarations category.

    Added

    • Previews in settings screen.
    2020-10-24

    Added

    • Support for German.

    Changed

    • Minor UI improvements.
    2020-10-18

    Fixed

    • Licensing bug
    2020-10-13

    Fixed

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

    Initial Release

    2020-10-12

    Reviews

    Write Your Own Review
    Only registered users can write reviews. Please Sign in or create an account