Format Source Code within C-Free
The following instructions allow you to format source code files in C-Free IDE
using FormatCode Code Formatter command line tool. We used a free trial version of C-Free Version 4.0 Beta 2,
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. Click the "Add" button to add a new tool, input "FormatCode" as the title of the tool.
3. Fill in the form as show below: (Assuming you installed FormatCode in C:\Program Files\FormatCode\)
- Tool: FormatCode
- Shortcut: Ctrl+Alt+T
- Program: C:\Program Files\FormatCode\FormatCode.exe
- Parameters: $(FileName)
- Working dir: $(Path)
4. Click "OK" button to save settings.
You may now invoke FormatCode command line tool by two ways:
1. Using Ctrl+Alt+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 C-Free in several seconds!
|