Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: Source Formatting


This question is answered.


Permlink Replies: 3 - Last Post: May 21, 2017 3:30 AM Last Post By: Achim Kalwa
Jeff Cope

Posts: 88
Registered: 1/27/01
Source Formatting  
Click to report abuse...   Click to reply to this thread Reply
  Posted: May 18, 2017 12:19 PM
Is there an easy way to run Delphi's (XE7 in our case) "Format Source" option against all units in a project without having to open them each individually and run it?
Peter Below

Posts: 1,227
Registered: 12/16/99
Re: Source Formatting
Correct
Click to report abuse...   Click to reply to this thread Reply
  Posted: May 18, 2017 11:16 PM   in response to: Jeff Cope in response to: Jeff Cope
Jeff Cope wrote:

Is there an easy way to run Delphi's (XE7 in our case) "Format
Source" option against all units in a project without having to open
them each individually and run it?

The Delphi BIN folder contains a formatter.exe, which is a stand-alone
version of the IDE-embedded source code formatter. Launch the program
from Windows Explorer to get a help screen with the command-line
options for it.

--
Peter Below
TeamB

Shlomo Abuisak

Posts: 100
Registered: 9/18/10
Re: Source Formatting  
Click to report abuse...   Click to reply to this thread Reply
  Posted: May 20, 2017 11:59 PM   in response to: Jeff Cope in response to: Jeff Cope
On 18/05/2017 22:19, Jeff Cope wrote:
Is there an easy way to run Delphi's (XE7 in our case) "Format Source" option against all units in a project without having to open them each individually and run it?
http://jedicodeformat.sourceforge.net/
http://torry.net/pages.php?s=105 DelFor Expert v.2.5
DelFor Expert excellent it dose what you want format a project!!!
if you have problems get in touch i compiled it on XE
limelect dot gmail dot com
Achim Kalwa

Posts: 39
Registered: 9/28/99
Re: Source Formatting  
Click to report abuse...   Click to reply to this thread Reply
  Posted: May 21, 2017 3:30 AM   in response to: Shlomo Abuisak in response to: Shlomo Abuisak
shlomo abuisak wrote:

http://torry.net/pages.php?s=105 DelFor Expert v.2.5
DelFor Expert excellent it dose what you want format a project!!!
if you have problems get in touch i compiled it on XE
limelect dot gmail dot com

I case you did not know: The DelForEx(pert) has been donated to
GExperts; and Thomas Müller did a great job to update and improve that
old expert to all current Delphi IDE versions:


Go to https://blog.dummzeuch.de/experimental-gexperts-version/ and click
"Download current version". From that list, choose the version matching
your IDE version.

Achim

Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02