Menu

#161 Printer Java: Treat different ignored for closing brace

closed-fixed
None
1
2002-11-13
2002-09-18
No

I'm using the custom brace style with the folowing
settings:

Newline before left brace checked
Newline after right brace checked
Treat class and method blocks different checked

Whitespace
Before left brace 4
Before right brace 4
After right brace 0

What I would like to get is this:

class A
{
void funcA()
{
if(b)
{
// Do something
}
}
}

but I'm getting:
class A
{
void funcA()
{
if(b)
{
// Do something
}
}
}

The right brace is not treated differently.

Discussion

  • Marco Hunsicker

    Marco Hunsicker - 2002-09-18

    Logged In: YES
    user_id=44430

    I'll look into it. Thanks.

    <pre>
    class A
    {
    void funcA()
    {
    }
    }
    </pre>

     
  • Marco Hunsicker

    Marco Hunsicker - 2002-09-18
    • assigned_to: nobody --> marcohu
     
  • Marco Hunsicker

    Marco Hunsicker - 2002-09-18

    Logged In: YES
    user_id=44430

    Fixed in CVS

     
  • Marco Hunsicker

    Marco Hunsicker - 2002-09-18
    • priority: 5 --> 1
    • status: open --> open-fixed
     
  • Eric Lamontagne

    Eric Lamontagne - 2002-09-19

    Logged In: YES
    user_id=613728

    Thank for the quick fix!
    I downloaded it from CVS and it works well excepts for
    caselist which are treated differently and I don't think they
    should.

     
  • Marco Hunsicker

    Marco Hunsicker - 2002-09-23
    • summary: Treat different ignored for closing brac --> Printer Java: Treat different ignored for closing brace
     
  • Marco Hunsicker

    Marco Hunsicker - 2002-09-23

    Logged In: YES
    user_id=44430

    That bug was not related to the treat different switch but a
    general problem. Should work now.

     
  • Marco Hunsicker

    Marco Hunsicker - 2002-11-13
    • status: open-fixed --> closed-fixed
     

Log in to post a comment.