#288 Array elements alignment

closed-fixed
None
2015-01-03
2014-06-21
Falei
No

I wonder whether AStyle support array elements alignment. For example, the code as follows:
int s[][4] = {
{1,2,3,4},
{10,2,15,158}
};
could be formatted as:
int s[][4] = {
{ 1, 2, 3, 4},
{10, 2,15,158}
};
Has AStyle provided this options? Thanks.

Discussion

  • Jim Pattee

    Jim Pattee - 2014-10-30
    • status: open --> open-fixed
    • assigned_to: Jim Pattee
    • Priority: 5 --> 7
     
  • Jim Pattee

    Jim Pattee - 2014-10-30

    AStyle has no option that will do this.
    But if the code is already aligned it should remain aligned.

     
  • Jim Pattee

    Jim Pattee - 2014-11-20
    • Status: open-fixed --> closed-fixed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks