Why Use It

Formatting Show




FAQs & Tips

Update History

Award Gallery


License Policy



Integrate SourceFormatX Into JPad

Format Source Code within JPad

The following instructions allow you to format and indent the current open Java source code file in JPad Pro using SourceFormatX code formatter command line tool. We used a free trial version of JPad Pro Version 6.5, 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 that will invoke SourceFormatX code formatter

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

2. Check the "Command Line" item, then click "OK".

3. In the "Command Name" text box of tool bar, input "SourceFormatX", then click "Define Command" tool button.

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

  • Working Directory:   SourceFormatX
  • Output:                    SourceFormatX
  • Command line:         "C:\Program Files\SourceFormatX\SourceFormatX.exe" $editor.path

4. Click "OK" button to save settings.

  You may now invoke SourceFormatX indenter command line tool:

1. By clicking the "Run Command" tool button of tool bar.

  Want to reformat Java code automatically?  Download SourceFormatX to format and indent source code now!