Custom indentation on code formatting

I work with legacy C/C++ code that has a special formatting.

The body of a method is first indented by 8 spaces and by 2 spaces after that.

void TheMethod()
{
        // This is the first indentation
        if (someExpression)
        {
          // The second identation
        }
}

Can code formatting be configured like that?

0
1 comment

Hello,

ReSharper's formatter doesn't support this style. I don't think you'd find a code formatter tool with non-uniform indents.

 

0

Please sign in to leave a comment.