Skip to content

TcBlackCLI v0.2

Pre-release
Pre-release
Compare
Choose a tag to compare
@Roald87 Roald87 released this 22 Aug 14:23
· 61 commits to master since this 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.