The code formatter in Delphi 2010 is a useful tool for developing coding standards, or at least this is my opinion, however it has a horrid habit of ruining comments.
A nicly commented block like this..
SomeFunction(SomeVaribleWithALongName, // Comment
Option2, // Comment
FieldByName('SomeField').AsSomething; // Comment
Becomes harder to read
SomeFunction(SomeVaribleWithALongName, // Comment
Option2, // Comment
FieldByName('SomeField').AsSomething; // Comment
I have set everything I can see to either False, As Is or None, yet CTRL + D still moves my poor comments.
Does anyone have a solution to this or shall I just join the vast group of disappointed Delphi programmers that hate the Formatter?