Integrate FormatCode Into UltraEdit


Format Source Code within UltraEdit

The following instructions allow you to format source code files in UltraEdit 32 Text Editor using FormatCode command line tool. We used a free trial version of UltraEdit 32 Version 12.00, 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 "Advanced" -> "Tool Configuration...".

2. Click the "Insert" button in the "Command" page to add a new tool menu.

3. Assuming you installed FormatCode in C:\Program Files\FormatCode\, fill in the form as show below:

  • Menu Item Name:        FormatCode
  • Command Line:           "C:\Program Files\FormatCode\FormatCode.exe" %f
                                      (Please note you need to put two double quotes before and after the path of FormatCode.exe file.)
  • Working Directory:       (Leave blank)
  • Toolbar Bitmap/Icon:    (Leave blank, or you can specify an icon for it.)


Options and Output Settings

1. Click the "Options" page then uncheck the "Save Active File" checkbox.

2. Click the "Output" page then uncheck the "Capture Output" checkbox.

3. Click "OK" to save settings.


Add a keymapping so you can invoke FormatCode using Ctrl+Shift+T

1. Click "Advanced" -> "Configuration...".

2. Select the "Key Mapping" item.

3. Scroll the "Commands" box to "AdvancedUserTool1", assign new key "Ctrl+Shift+T" or other keys.

4. Click "Assign", then click "OK".


You may now invoke FormatCode command line tool by two ways:

1. Using Ctrl+Shift+T

2. By clicking "Advanced" -> "FormatCode".


With FormatCode Code Formatters, you can format and transform any foreign source code to meet your favourite coding style within UltraEdit source editor in several seconds!


Products

C/C++ Formatter

Java Formatter

C# Formatter

VB Formatter

VB.NET Formatter

PHP Formatter

ASP Formatter

VBScript Formatter

JavaScript Formatter

Delphi Formatter

Asm x86 Formatter

Asm 51 Formatter

Download

Purchase