Roald87
Roald87
After upgrading from v1.0 to v1.2 I saw that a test suite which ran without issues before, now had a lot of cycle overruns. After some investigation I noticed that...
I just released a new version of _TcBlack_ and ran it on your project. Thought you might like (some of) the changes it made to _TcUnit_. You can also run...
``` // in Variable AT%Q* : INT; // out Variable AT AT%Q* : INT; ```
- Logo icon is square - Improved alignment of the stripes - .ico has special logos for specific resolutions - added git lfs - added some files to git lfs
``` // in FUNCTION POU : REAL VAR_INPUT pointerArray : ARRAY[1..6] OF POINTER TO LREAL; END_VAR // out FUNCTION POU : REAL VAR_INPUT pointerArray : ARRAY[1..6] OF POINTER := TO...
The following code is formatted as follows ``` // in FUNCTION_BLOCK POU VAR PERSISTENT var1 : INT; END_VAR VAR CONSTANT number : INT := 5; END_VAR VAR RETAIN y :...
After formatting a text with the TcBlackExtension, there is no way to undo it. you can't undo it with Ctrl + Z. Not sure how to implement this yet.
Currently the ` VariableDeclaration.Tokenize()` method in _TcBlackCore_ has quite a complex regular expression to separate all the different components. For example to close #35 a two step regex was needed....
Add `--line-length` option for CLI to change the line length.
Maybe non-verbose mode shows the number of reformatted files: ``` > TcBlack.exe --filenames C:\SomeFile.TcPOU C:\SecondFile.TcPOU ... All done! Formatted 1 of total 2 files. ``` And the verbose mode (`-v`...