cnwizards
cnwizards copied to clipboard
[Feature request] Formatter - align comment to next statement
before format
procedure foo()
begin
begin
//comment
begin
end;
end;
end;
after format
procedure foo()
begin
begin
//comment
begin
end;
end;
end;
should be
procedure foo()
begin
begin
//comment should be aligned to next statement
begin
end;
end;
end;
In fact, we can't make the decision whether the line comment belongs to previous line or next line. It depends on the coding style.
so maybe you could add some settings for it :).