Netbeans braces placement issue

Posted by KeyStroke on Stack Overflow See other posts from Stack Overflow or by KeyStroke
Published on 2010-04-08T21:29:28Z Indexed on 2010/04/08 21:33 UTC
Read the original article Hit count: 184

Filed under:

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

© Stack Overflow or respective owner

Related posts about netbeans6.8