Beautify
This program parses your code and indent each line properly. The comments at the end of lines are nicely aligned to improve readability and comments that start too far to the right are places alone on the previous line instead. All you need to do is call the program with the filename(s) in the parameters.
Usage:
Make a macro in GLBasic with these commands in it:
c:\path\to\beautify.exe "%GLB_GBAS_PATH%"
Notepad.exe "%GLB_GBAS_PATH%.rem"
or if you preffer Beautify not to change your comments:
c:\path\to\beautify.exe "%GLB_GBAS_PATH%"
Notepad.exe "%GLB_GBAS_PATH%.rem"
There is a macro premade in the same folder as Beautify if you preffer to copy from there.
This code is intended for GL Basic.
Download Beautify (122.9 KiB, 2009-07-30 22:46:16.)
Previous page: Autoupdater
Next page: Tutorials
