Skip to content

Releases: Roald87/TcBlack

TcBlackExtension v0.1.1 alpha

18 May 20:14
Compare
Choose a tag to compare
Pre-release

Changes

  • Saves POU before formatting (#56)
  • Supports Visual Studio 2019 (#63)
  • Downgraded Buildtools to .3039 from .3043 since isn't available on nuget anymore
  • Removed assembly signing (#69)

Notice

If you installed v0.1.0 before, you first need to manually remove it before installing v0.1.1. This is caused by a wrong version number in the v0.1.0 release.

Uses

  • TcBlackCore v0.3.0

TcBlackExtension v0.1.0

02 Apr 15:35
Compare
Choose a tag to compare
Pre-release

First release of a Visual Studio Extension plugin for TcBlack. Install with the attached .vsix file. After installation you can find it under Tools > Format Structured Text. Or use the short key Alt + Q.

Limited functionality. Currently only formats the declaration and there is no undo functionality!

Should work with Visual Studio 2017+. Tested with Visual Studio 2017 Community and VS2019 Pro.

TcBlackCLI v0.2

22 Aug 14:23
Compare
Choose a tag to compare
TcBlackCLI v0.2 Pre-release
Pre-release

TcBlackCLI can now format almost any declaration of .TcPOU and .TcIO files.

New features

  • Extensive manual with all available commands.
  • Can format a whole project at once (#13).
  • Can format the declaration of methods and properties (#12).
  • Automatically converts TwinCAT keywords to upper case (#37).
  • Added support for FINAL, ABSTRACT, PUBLIC access modifiers (#14, #32, #34 and #36).
  • Possible to override automatic line ending and indentation (#8, #28).
  • Remove empty VAR declarations and extra white lines (#21, #26).
  • Replaced hard coded devenv path (#5).
  • Empty lines have same indentation as surrounding code (#15).

Bug fixes

  • Handle non-existing .plcproj of .sln files (#24).
  • Do not remove spaces from strings inside FB_inits (#44).
  • Do not put spaces around negative array indices (#43).
  • Can handle string declarations which have semi colon or closing bracket (#35).
  • Shows a message in the console when it is building a project (#27).
  • Doesn't detect comments which do not have a space e.g. //fbA : FB_A as a declaration.

TcBlackCLI v0.1

22 Jun 07:27
Compare
Choose a tag to compare
TcBlackCLI v0.1 Pre-release
Pre-release

Release of the first alpha version which is able to reformat most function and function block declarations.