IMHO the integrated formatter in Delphi somehow messes up any code placed in the initialization and finalization section. I prefer to have no linebreaks after those keywords and indent the code one step treating these keywords like begin/end. Actually there is a closing end anyway.

IMHO the integrated formatter in Delphi somehow messes up any code placed in the initialization and finalization section. I prefer to have no linebreaks after those keywords and indent the code one step treating these keywords like begin/end. Actually there is a closing end anyway.
The formatter instead treats it similar to the interface and implementation keywords, which nonetheless is a valid approach. It just looks ugly in my view and every code wizard (e.g. datasnap) produces code formatted otherwise.
What is your opinion on that? (the formatting - not using the formatter in general)

Comments