Format Source Code within LopeEdit
The following instructions allow you to format source code files in LopeEdit Editor
using FormatCode command line tool. We used a free trial version of LopeEdit Pro Version 5.2,
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 External Tools...".
2. Click the "Add Command" button to add a new tool menu.
3. Fill in the form as show below: (Assuming you installed FormatCode in C:\Program Files\FormatCode\)
- Description: FormatCode
- File Types: (Leave blank)
- Command: C:\Program Files\FormatCode\FormatCode.exe
- Parameters: %FILEPATH%
- Working Folder: %FILEDIR%
- Hotkeys: Ctrl+Alt+T
4. Click "OK" to save settings.
You may now invoke FormatCode command line tool by two ways:
1. Using Ctrl+Alt+T
2. By clicking "Tools" -> "FormatCode".
With FormatCode Code Formatters, you can format and transform any foreign source code to meet your favourite coding style within LopeEdit source editor in several seconds!
|