|
Integrate SourceFormatX Into Crimson Editor |
|
| |
|
|
Format Source Code within Crimson Editor
The following instructions allow you to format the current open source code file in
Crimson Editor using
SourceFormatX formatter command line tool. We used a
freeware version of Crimson Editor Version 3.70, 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
1. Click "Tools" -> "Preferences...".
2. Click the "User Tools" tree item.
3. Select the first user tool then fill in the form as show below: (Assuming you installed SourceFormatX in C:\Program Files\SourceFormatX\)
- Menu Text: SourceFormatX
- Command: C:\Program Files\SourceFormatX\SourceFormatX.exe
- Argument: $(FilePath)
- Initial Dir: $(FileDir)
- Hot Key: Ctrl + Shift + T
4. Click "OK" to save settings.
You may now invoke SourceFormatX command line tool by two ways:
1. Using Ctrl+Shift+T
2. By clicking "Tools" -> "SourceFormatX".
Like to reformat source code automatically? Download SourceFormatX to format all your source code!
|