Hi,
Say we have this code:
..return function(
....longLongLongLongargument1,
....longlonglonglongargument2,
....longlonglonglongargument3);
astyle changes the indentation to:
..return function(
...........longLongLongLongargument1,
...........longlonglonglongargument2,
...........longlonglonglongargument3);
Might be just me, but I prefer the initial indentation. Couldn't find an option for such indentation, it would be nice to have.
Thanks.
I concur. I also would like the option to keep the original single indented break, as it sometimes allows more compact code, as in #2 bellow.
Last edit: Adelost 2014-06-16
I wouldn't mind this option myself. I like to keep the code lines short and I often use multiline routine calls for that:
With many (more than 3) parameters it also gives the option of using comments to explain each of them. Currently I indent everything with four spaces, no exceptions.
Ticket moved from /p/astyle/bugs/277/