PDA

View Full Version : GML Formatter



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.

Chainsaw
21-12-2007, 02:36 PM
Nwice, thanks alot, my cousin will love this

Tr00jg
21-12-2007, 03:26 PM
Neat! If there is one thing I hate about GM, it is its stupid code editor.

Karuji
21-12-2007, 04:24 PM
Nice this makes life abit easier :D

|-|1Pp13
21-12-2007, 08:11 PM
10 points to Squid!!

i've always wondered if there was something out there like this

thanx man!! :D

dislekcia
22-12-2007, 01:41 PM
Win!

-D

Squid
29-12-2007, 12:39 PM
New version up, now formats "," , "=" , "==" , "<=" , ">=" , "+=" and "-=". Same link.

Are you happy now D?

dislekcia
29-12-2007, 05:55 PM
New version up, now formats "," , "=" , "==" , "<=" , ">=" , "+=" and "-=". Same link.

Are you happy now D?

I'll check it out ;)

Crunching on these menus at the moment... Profiles were more work than I expected.

-D