Code Spaces fixer?

Started by Kewun, Sep 15, 2016, 07:43 AM

Previous topic - Next topic

Kewun

as here http://imgur.com/a/Crh6R

there is

function onKeyDown(player,key)
{
if (key == blah blah)
{
Message("meh")
}
        if(key==blah2)
                   { 
       Message("shit")
    }
}

is there any tool to fix the spaces to make it normal format? or have to do it manually?
i mean a tool to fix this

function onKeyDown(player,key)
{
if (key == blah blah)
{
Message("meh")
}
        if(key==blah2)
                   { 
       Message("shit")
    }
}

to

function onKeyDown(player,key)
{
          if ( key == blah blah )
          {
                    Message("meh")
          }
          if ( key == blah2)
          {
                    Message("shit")
          }
}

any tool to do it ? or i have to do this manually?

KAKAN

oh no

Kewun

thx.. i was looking for this for 5 months