Format Source Code within Programmers Notepad
The following instructions allow you to format source code files in Programmer's Notepad
using FormatCode command line tool. We used a freeware version of Programmers Notepad 2.0.6.1, 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" -> "Add Tools...".
2. Click the "Add" button to add a new user tool.
3. Fill in the form as show below: (Assuming you installed FormatCode in C:\Program Files\FormatCode\)
- Name: FormatCode
- Command: C:\Program Files\FormatCode\FormatCode.exe
- Folder: %d
- Parameters: %f
- Shortcut: Ctrl+Shift+T
- Save: None
4. Check the "This tool will modify the current file" checkbox.
5. Click "OK" button to save settings.
You may now invoke FormatCode command line tool by two ways:
1. Using Ctrl+Shift+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 Programmers Notepad code editor in several seconds!
|