Integrate FormatCode Into SlickEdit


Format Source Code within SlickEdit

The following instructions allow you to format source code files in SlickEdit Code Editor using FormatCode command line tool. We used a free trial version of SlickEdit Version 11.02, 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 Button that will invoke FormatCode

1. Click "View" -> "Toolbars" -> "Customize...".

2. Select the "Toolbars" page, then click "New..." button and input "FormatCode".

3. Select the "Categories" page, then click "User Definable Tool" item, choose an icon and drag it to the new tool bar to create a new tool button.

4. Right click the new tool button, click "Properties..." menu item, then fill in the form as show below: (Assuming you installed FormatCode in C:\Program Files\FormatCode\)

  • Command:  "C:\Program Files\FormatCode\FormatCode.exe" %F
  • Message:     FormatCode

5. Click "OK" button to save settings.


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

1. Click "Macro" -> "Load Module..." to load FormatCode.e SlickEdit integration macro file to IDE.

2. Click "Tools" -> "Options" -> "Key Bindings...".

3. Type "FormatCode" in the text box, then click "Add Key or Mouse Click" button, then assign new key "Ctrl+Alt+T" or other keys.

4. Click "Bind", then click "Done" to save settings.


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

1. Using Ctrl+Alt+T

2. By clicking "FormatCode" tool button in the tool bar.


With FormatCode Code Formatters, you can format and transform any foreign source code to meet your favourite coding style within SlickEdit 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