STweep Formatter for CODESYS (Demo)

The STweep formatter plugin 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."


This is a 30 day unrestricted demo

Version: 
2.1.0.0  
Artikelnummer: 
2101000014
0,00 € zzgl. MwSt

STweep Formatter for CODESYS (Demo)

STweep Formatter for CODESYS (Demo)

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

 

einklappen

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

-

Versionshistorie

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

1 Kundenmeinung(en)

Very good! Bewertung von H. Hermsen
Funktionalität
Qualität
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. (Veröffentlicht am 08.11.20)

 

Gerhard Barteling

support@stweep.com

Screenshots

Schreiben Sie Ihre eigene Kundenmeinung

Nur registrierte Benutzer können Bewertungen abgeben. Bitte melden Sie sich an oder registrieren Sie sich