[Tool/Web/Other] (Online) Tidy Code and Bracket Finder
#1

This is a tool to find brackets lost and tidy your code.




Link

http://ipsbr.net/portal/tabulador/





Code

http://pastebin.com/w6bwy97E

The new version works with strings and comments

Made in Javascript by me. This is free source code.




Example

(this only works in these cases)
pawn Code:
if (dataLength % 3){
static pads ;
    pads = dataLength % 3;

// print("hey, ho \"lets go\" "); {

for (; pads < 3; pads++)
            result[resultIndex++] = '=';
}

to


pawn Code:
if (dataLength % 3){
    static pads ;
    pads = dataLength % 3;

    // print("hey, ho \"lets go\" "); {

    for (; pads < 3; pads++)
    result[resultIndex++] = '=';
}

Thanks.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 3 Guest(s)