Integrate FormatCode Into ConText


Format Source Code within ConText

The following instructions allow you to format source code files in ConText Editor using FormatCode command line tool. We used a freeware version of ConText Version 0.97.4, 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 "Options" -> "Enviroment Options...".

2. Select the "Execute Keys" page, click the "Add" button, enter the file extension(s).

3. Click "F9" in the tree box, fill in the form as show below (Assuming you installed FormatCode in C:\Program Files\FormatCode\).

  • Execute:        C:\Program Files\FormatCode\FormatCode.exe
  • Start In:         %p
  • Parameters:   %n
  • Window:         Minimized
  • Hint:              (Leave blank)
  • Save:            Nothing

4. Click "OK" to save settings.


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

1. Using F9

2. By clicking "Tools" -> "User Command 1".

3. By clicking "User Command 1" button in the toolbar.


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