VHDLFormatter
VHDLFormatter copied to clipboard
ApplyNoNewLineAfter does nothing
Report a poor code
During running tests I found that VHDLFormatter.ts: ApplyNoNewLineAfter()
does nothing, this feature (applying no new line after special words) implemented in VHDLFormatter.ts: SetNewLinesAfterSymbols()
.
This misleading function should be refactored/removed.
According to the unit tests (phew, thanks to unit tests, I can still understand what the code does), if user sets "no new line after ;
", it can convert
a;
b;
to
a; b;