Squid
21-12-2007, 01:54 PM
Having grown up writing most of my code in JBuilder which has an auto-format function. I have always just been to lazy to format my GML code.
That is until now.
Now that I'm working on a commercial product with dislekcia I have certain coding standards to uphold.
Thus I decided to create The Game Maker Language Formatter! A simple Java program that will indent your code for you.
Download (75k) (http://www.squidcor.co.za/GMLF.zip)
Instructions:
-Copy your unformatted code into the upper text area
-Click Format
-The output is automatically copied into your clipboard
-Click clear and repeat!
Note: The program checks for "{" and "}" it won't detect "begin" and "end's. It will work for any other language that uses curly braces too.
That is until now.
Now that I'm working on a commercial product with dislekcia I have certain coding standards to uphold.
Thus I decided to create The Game Maker Language Formatter! A simple Java program that will indent your code for you.
Download (75k) (http://www.squidcor.co.za/GMLF.zip)
Instructions:
-Copy your unformatted code into the upper text area
-Click Format
-The output is automatically copied into your clipboard
-Click clear and repeat!
Note: The program checks for "{" and "}" it won't detect "begin" and "end's. It will work for any other language that uses curly braces too.