Integrate FormatCode Into AnyEdit


Format Source Code within AnyEdit

The following instructions allow you to format the source code files in AnyEdit Editor using FormatCode command line tool. We used a freeware version of AnyEdit Version 2.0 Beta 3, 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 "Edit" -> "Preferences".

2. Click the "Tools" tree item.

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

  • ToolType:      Windows Program
  • Name:           FormatCode
  • Command:     C:\Program Files\FormatCode\FormatCode.exe
  • Arguments:    $FILEPATH
  • Initial:            $FILEDIR
  • Output:          (Leave blank)

4. Click "Apply" to save settings.


Assign FormatCode user tool to programming languages

1. Click the "Language Tools" tree item.

2. In the "Language" box select "Cpp", then in the "Tool" box select "FormatCode" and click ">>" button to assign FormatCode to C/C++ language.

3. Use this way, you can assign FormatCode to Java, Pascal and other programming languages.

4. Click "OK" to save settings.


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

1. Open a C/C++, Java or Pascal file, then invoke FormatCode by clicking "Tools" -> "All Tools" -> "FormatCode".

2. Open a C/C++, Java, Pascal or other source code file, then invoke FormatCode by clicking "User Tool 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 AnyEdit 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