0

Yes, question sounds strange. But I have a big code that wasn't written by my own and contains a lot of while loops and if statements and therefore a lot of braces. WHat I need is the automatic code rebuilding like MS Visual Studio does - no matter where I placed open-brace it will move at right place when I write close-brace. For example:

//I write:
function func()
{
if(//some statement)
{
echo('hello world');
}
}

//It will look like this:
function func()
{
    if(//some statement)
    {
       echo('hello world');
    }
}
Frankie Drake
  • 1,338
  • 9
  • 24
  • 40

1 Answers1

1

Netbeans is a free IDE that has the ability to format your code.

Jerodev
  • 32,252
  • 11
  • 87
  • 108