|
Format Source Code within AnyEdit
The following instructions allow you to format source code files in Delphi
using FormatCode command line tool. We used Delphi Version 5.0 Enterprise, so if you
use an older or even a newer version then several screenshots or menu items may differ from our description.
Add a Tool Menu that will invoke FormatCode
1. Click "Tools" -> "Configure Tools...".
2. Click "Add..." to add a new tool.
3. Please fill in the form as show below: (Assuming you installed FormatCode in C:\Program Files\FormatCode\)
- Title: FormatCode
- Program: C:\Program Files\FormatCode\FormatCode.exe
- Working dir: C:\Program Files\FormatCode\
- Parameters: $EDNAME
4. Click "OK" button to save settings, then click "Close".
You may now invoke FormatCode command line tool:
1. By clicking "Tools" -> "FormatCode".
With FormatCode Code Formatters, you can format and transform any foreign source code to meet your favourite coding style within Delphi in several seconds!
|