[ESS] Indentation of continued statements

Ali Tofigh alix.tofigh at gmail.com
Thu Apr 24 06:23:31 CEST 2014


no takers?

/ali

On Tue, Apr 15, 2014 at 6:59 PM, Ali Tofigh <alix.tofigh at gmail.com> wrote:
> When writing R code with ess-style set to C++, continued statements
> are indented like this in the outermost level:
>
> 1 +
>     2 +
>     3 +
>     4
>
> However, inside braces (for example inside function definitions),
> continued statements are indented like this:
>
> {
>     1 +
>         2 +
>             3 +
>                 4
> }
>
> Is there a way of getting the same indentation as the outermost level
> everywhere? I've experimented with all the style variables, but
> nothing seems to work. I don't really see why the two cases should be
> indented differently.
>
> /ali



More information about the ESS-help mailing list