Menu

#3 New formatting option

None
open
nobody
2018-01-27
2002-07-18
No

I'd like to have the following formatting option (for C++):
break brackets from class declarations, but attach
brackets to function declaration and to pre-block
command statements.

Example:

class ExampleClass
{
private: ...
public: ...

}

int ExampleClass::Foo() {
if (isBar) {
bar();
return 1;
} else
return 0;
}

Ciao
Gianni

Discussion

  • Martin Baute

    Martin Baute - 2004-06-02

    Logged In: YES
    user_id=688864

    Your submission has been assigned to a developer, and is now
    pending review.

    Sorry that we neglected our bug tracker for so long. We try to
    catch up.

     
  • Martin Baute

    Martin Baute - 2004-06-02
    • milestone: --> 403780
    • assigned_to: nobody --> devsolar
     
  • Martin Baute

    Martin Baute - 2004-06-04
    • assigned_to: devsolar --> nobody
    • milestone: 403780 -->
    • status: open --> open-accepted
     
  • Martin Baute

    Martin Baute - 2004-06-04

    Logged In: YES
    user_id=688864

    I agree the bracket breaking options need more fine-tuning
    control. This will be implemented in a future version of Astyle.

     
  • Jim Pattee

    Jim Pattee - 2006-05-28
    • assigned_to: nobody --> jimp03
     
  • Jim Pattee

    Jim Pattee - 2007-06-22
    • assigned_to: jimp03 --> nobody
     
  • Jim Pattee

    Jim Pattee - 2010-10-21
    • labels: --> Feature Request
     
  • Jim Pattee

    Jim Pattee - 2013-11-05
    • status: open-accepted --> open
    • Group: --> 1.15.3
     
  • Jim Pattee

    Jim Pattee - 2018-01-27

    Ticket moved from /p/astyle/bugs/6/

     

Log in to post a comment.