I am amazed by the automatic code formatting feature in VB.Net IDE that when you type a line of code and then move the cursor off that line, the code will automatically be indented and the proper text type cases will be applied as if the code was formatted with the coding standards. Is there any IDE experts, IDE plugins etc that will make Delphi IDE do the same?
4 Answers
GExperts has a code formatter. Also, Delphi 2010 has it out-of-the-box.
The difference with the VB.Net IDE is that in Delphi you can actually choose if you want to use this or not...

- 15,076
- 6
- 55
- 70

- 4,343
- 21
- 35
-
6The formatter isn't included in Gexperts, but there is an "experimental" version with formatting included. It requires some manual installation. – Bruce McGee Aug 06 '10 at 10:55
-
A, I didn't even remember that! Thanks for clarifying. – Birger Aug 06 '10 at 10:59
Please, see this thread: Delphi code formatter
I have discussed this question. You can find various sugestion for this question/problem.
Regards

- 1
- 1

- 6,442
- 21
- 33
The Experimental Builds of GExperts contain a formatter that is based on the Dutch DelForExp.
It is way better than the code formatter included in Delphi 2010 (some people even disable that one), but has some drawbacks too:
it does not support generics, and has problems with other modern constructs like class vars and such.
--jeroen

- 1
- 1

- 23,965
- 9
- 74
- 154
Delphi 2010 have buid in but need a click but unfortunately, Embarcadero does not use it on their own delphi codes hence bugs and short options
Cheers

- 997
- 5
- 4