Why Use It

Formatting Show




FAQs & Tips

Update History

Award Gallery


License Policy



Integrate SourceFormatX Into SlickEdit

Format Source Code within SlickEdit

The following instructions allow you to beautify and format the current open source code file in SlickEdit Code Editor using SourceFormatX code beautifier 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 SourceFormatX code beautifier

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

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

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 SourceFormatX in C:\Program Files\SourceFormatX\)

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

5. Click "OK" button to save settings.

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

1. Click "Macro" -> "Load Module..." to load SourceFormatX.e SlickEdit integration macro file to IDE. (Right click to download SourceFormatX.e file)

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

3. Type "SourceFormatX" 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 the command line tool of SourceFormatX code formatter by two ways:

1. Using Ctrl+Alt+T

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

  Don't waste time on beautifying code by hand any more!  Download SourceFormatX to beautify and format source code for you!