JCF Extra spaces
Original Reporter info from Mantis: okobapatino @OkobaPatino
-
Reporter name: OkobaPatino
Original Reporter info from Mantis: okobapatino @OkobaPatino
- Reporter name: OkobaPatino
Description:
For this code:
if True then Exit;
If I add two or more space after then, after reformat, JCF makes them two space, but if I add just one space, it will keep it as one.
Almost the same thing happens for this:
with Self do;
This time JCF keeps two space before Self if I write more than one space. This will not happen for spaces after Self or after do.
I do not know about other cases, but I think it can be good to do make it more coordinated.
In the "Steps To Reproduce" is the test code, try reformatting it to see extra spaces. Then try to remove them and reformat again. It seems JCF chooses one or two spaces, if this is a need, it should be an option for it and I could not find one existing.
Steps to reproduce:
if True then Exit;
with Self do Exit;
Mantis conversion info:
- Mantis ID: 38543
- Version: 2.1 (SVN)
- Monitored by: » @OkobaPatino (OkobaPatino)