Code formatting in Delphi 2010 is a useful tool for developing coding standards, or at least that's my opinion, but it has a terrible habit of breaking comments.
A well-matched block like this ..
SomeFunction(SomeVaribleWithALongName, // Comment
Option2, // Comment
FieldByName('SomeField').AsSomething; // Comment
Harder to read
SomeFunction(SomeVaribleWithALongName, // Comment
Option2, // Comment
FieldByName('SomeField').AsSomething; // Comment
I installed everything I see, either False, As Is, or None, but CTRL + D still carries my bad comments.
Does anyone have a solution to this, or am I just joining a huge group of frustrated Delphi programmers who hate Formatter?
source
share