tags:

views:

18

answers:

0

Hi there,

I'm trying to get Netbeans PHP to let me write braces in a new line instead of the same line, I mean like this:

if($something == TRUE)
{
    // some code here
}

However, when I write if($something == TRUE) then hit enter, Netbeans places the cursor incorrectly in the new line, like this:

if($something == TRUE)
      {
    // some code here
}

I've already changed the braces placement option to be "New Line", but this still doesn't work properly.

Any idea how I can fix this?

Appreciate your help