A RAD Studio plugin integrating pasfmt, a complete
and opinionated formatter for Delphi code, into the IDE.
pasfmt-rad is available for Delphi 11 and above - earlier versions may be able to be
built from source, but are not officially supported.
pasfmt and add to PATHWith a file open in the editor, a format can be triggered with Ctrl+Alt+F (Tools > Pasfmt > Format).
The hotkey for formatting can be changed in the settings menu (Tools > Pasfmt > Settings...)
The formatter can optionally be triggered on save; this can be enabled in Tools > Pasfmt > Settings... by toggling
Format on save.
[!WARNING]
Ctrl+Alt+Fis also the default shortcut for the GExperts formatter. If you have GExperts installed, please make sure to disable the formatter in the GExperts settings.
To customise the configuration, create a file called pasfmt.toml in the root directory of the project you are
formatting. For more information, see the
Configuration section of pasfmt.
Licensed under the GNU Lesser General Public License, Version 3.0.
Pascal
100.0%
A RAD Studio plugin integrating pasfmt, a complete
and opinionated formatter for Delphi code, into the IDE.
pasfmt-rad is available for Delphi 11 and above - earlier versions may be able to be
built from source, but are not officially supported.
pasfmt and add to PATHWith a file open in the editor, a format can be triggered with Ctrl+Alt+F (Tools > Pasfmt > Format).
The hotkey for formatting can be changed in the settings menu (Tools > Pasfmt > Settings...)
The formatter can optionally be triggered on save; this can be enabled in Tools > Pasfmt > Settings... by toggling
Format on save.
[!WARNING]
Ctrl+Alt+Fis also the default shortcut for the GExperts formatter. If you have GExperts installed, please make sure to disable the formatter in the GExperts settings.
To customise the configuration, create a file called pasfmt.toml in the root directory of the project you are
formatting. For more information, see the
Configuration section of pasfmt.
Licensed under the GNU Lesser General Public License, Version 3.0.
Pascal
100.0%