|
Integrate SourceFormatX Into EditPlus |
|
| |
|
|
Format Source Code within EditPlus
The following instructions allow you to format, beautify and indent the current open source code file in
EditPlus Text Editor using the command line tool
of SourceFormatX code formatter &
code beautifier. We used a free trial version of
EditPlus Version 2.30, 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 SourceFormatX Formatter
1. Click "Tools" -> "Configure User Tools...".
2. Click the "User Tools" tree item, then click "Add Tool >>" -> "Program".
3. Assuming you installed SourceFormatX Code Indenter in C:\Program Files\SourceFormatX\, fill in the form as show below:
- Menu Text: SourceFormatX
- Command: C:\Program Files\SourceFormatX\SourceFormatX.exe
- Argument: $(FilePath)
- Initial: $(FileDir)
4. Click "Apply" button to save settings.
Add a keymapping so you can invoke SourceFormatX using Ctrl+Shift+T
1. Click "Keyboard" tree item.
2. In the "Types" box select "Tool", scroll the "Commands" box and select "User Tool 1".
3. Assign new key "Ctrl+Shift+T" or other keys.
4. Click "Assign", then click "OK" to save settings.
You may now invoke the command line tool of SourceFormatX Beautifier by two ways:
1. Using Ctrl+Shift+T
2. By clicking "Tools" -> "SourceFormatX".
Don't waste time on formatting code by hand any more! Download SourceFormatX to format, beautify and indent your source code!
|