Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not align braces with control statement #32

Open
agirault opened this issue Mar 14, 2016 · 1 comment
Open

Can not align braces with control statement #32

agirault opened this issue Mar 14, 2016 · 1 comment

Comments

@agirault
Copy link

I can not seem to find a way to set the indentation style to Allman style (braces indented to the same level as the control statement. Statements within the braces indented to the next level.):

while (x == y)
{
    something();
    somethingelse();
}

Seems like all I can get is a Whitesmiths style:

while (x == y)
    {
    something();
    somethingelse();
    }

I tried playing with the <Indent> parameter but no luck so far. I also do not understand what the last attribute allowBlockLine in Indent controls.

@agirault agirault changed the title Can not align brackets with line from above Can not align braces with control statement Mar 14, 2016
@agirault
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant