Integrate FormatCode Into JDeveloper


Format Source Code within JDeveloper

The following instructions allow you to format Java source code files in Oracle JDeveloper using FormatCode command line tool. We used a free trial version of JDeveloper Version 9i, 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" -> "External Tools...".

2. Set the "Menu Caption" to "&FormatCode" as follows. Optionally set the the icon location to C:\Program Files\FormatCode\FormatCode.gif.

3. Select "Details" page.

4. Fill in the form as show below: (Assuming you installed FormatCode in C:\Program Files\FormatCode\)

  • Executable:             C:\Program Files\FormatCode\FormatCode.exe
  • Run in Directory:     C:\Program Files\FormatCode\
  • Arguments:             File path

5. Select "Invocation" page, fill in the form as show below:


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

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

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 JDeveloper 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