|
Integrate SourceFormatX Into ConText |
|
| |
|
|
Format Source Code within ConText
The following instructions allow you to format the current open source code file in ConText Editor using
SourceFormatX code formatter command line tool.
We used a freeware version of ConText Version 0.97.4, 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 "Options" -> "Enviroment Options...".
2. Select the "Execute Keys" page, click the "Add" button, enter the file extension(s).
3. Click "F9" in the tree box, fill in the form as show below (Assuming you installed SourceFormatX code formatter in C:\Program Files\SourceFormatX\).
- Execute: C:\Program Files\SourceFormatX\SourceFormatX.exe
- Start In: %p
- Parameters: %n
- Window: Minimized
- Hint: (Leave blank)
- Save: Nothing
4. Click "OK" to save settings.
You may now invoke SourceFormatX command line tool by three ways:
1. Using F9
2. By clicking "Tools" -> "User Command 1".
3. By clicking "User Command 1" button in the toolbar.
Don't waste time on formatting code manually any more! Download SourceFormatX code formatter to format source code now!
|