Implemented in revision #5894: the new editor expert "Code Formatter for Project Units" formats all units of the current project that are in the project's directory or below it. Since revision #5905 a project can also be dropped onto the standalone Code Formatter to format its units.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
There is the source code for a stand alone version of the code formatter in svn in
Projects\StandAlone\CodeFormatter
which compiles with Delphi 10.1 Berlin.
It already has a batch mode (formats all files passed to it on the command line) and could be extended to format all files in a project.
Implemented in revision #5894: the new editor expert "Code Formatter for Project Units" formats all units of the current project that are in the project's directory or below it. Since revision #5905 a project can also be dropped onto the standalone Code Formatter to format its units.