How to install in FF:
- Compile the below source code (or copy the precompiled exe in a folder)
- In FireFly: "Tools / Edit User Tools"
- "New"
- Enter "Column Formatter" as tool name
- Enter the name of the executable ("ColForm_NoGUI.exe" ?)
- No parameters required
- Enter an accelerator key combination
- Hit "Done"
How to use in FF:
- Select a few lines of code in the Code Editor
- Hit the accelerator key combination (or Menu: "Tools / Column Formatter")
- Selected text is fetched and formatted, columns aligned.
This:
DIM a as long 'This is comment
DIM abc as string 'Note that the REM statement
DIM test as double 'is not recognised as start of comment
becomes:
Dim a As Long 'This is comment
Dim abc As String 'Note that the REM statement
Dim test As Double 'is not recognised as start of comment
Great - thanks for that one, Eddy.
Rolf