Format Source Code within CodeGuide
The following instructions allow you to format source code files in CodeGuide Java IDE
using FormatCode command line tool. We used a free trial version of CodeGuide Version 6.0, 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 Tools...".
2. Then, fill in the form as show below: (Assuming you installed FormatCode in C:\Program Files\FormatCode\)
- Name: FormatCode
- Kind: Tool for files
- Executable: "C:\Program Files\FormatCode\FormatCode.exe"
- Working Directory: "C:\Program Files\FormatCode\"
- Arguments: "$FILE_PATH$"
- File patterns: *.*
- Behavior: Default
3. Click "OK" button to save settings.
You may now invoke FormatCode command line tool by two ways:
1. By clicking "Tools" -> "FormatCode".
With FormatCode Code Formatters, you can format and transform any foreign source code to meet your favourite coding style within CodeGuide in several seconds!
|