VHDLFormatter icon indicating copy to clipboard operation
VHDLFormatter copied to clipboard

ApplyNoNewLineAfter does nothing

Open raczben opened this issue 5 years ago • 1 comments

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.

raczben avatar Aug 30 '19 14:08 raczben

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;

g2384 avatar Aug 30 '19 20:08 g2384