Delphi Formatter Question. I know the built-in Delphi formatter will generate styles such as:

Delphi Formatter Question. I know the built-in Delphi formatter will generate styles such as:

if A < B then
DoSomething;

or

for i := 0 to 10 do
begin
DoSomething;
end;

where the indent appears to be a fixed 2 spaces but I'd like to have the DoSomething under the A oe rhw begin under ther i, eg:

if A < B then
DoSomething;

I can't seem to find an option to set the indent distance in the formatter? I assume there isn't one?

Comments

  1. You can modify the indentations, but only globally, not by per keyword.
    I do recommend sticking with language convention though.

    ReplyDelete

Post a Comment