Reputation: 2524
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?
Upvotes: 3
Views: 9521
Reputation: 24473
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
Upvotes: 2
Reputation: 1007
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
Upvotes: 0
Reputation: 6848
Please, see this thread: Delphi code formatter
I have discussed this question. You can find various sugestion for this question/problem.
Regards
Upvotes: 3
Reputation: 4353
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...
Upvotes: 7