Spaces around sizeof parentheses

Hi there,

How do I get resharper to add spaces in between my sizeof parens? 

IE, right now I have 

sizeof(buffer)

but I want, sizeof( buffer ) 

1 comment
Comment actions Permalink

Hello,

Turn on the "Spaces | In Expressions | Within parentheses" formatter setting. In general when you want to change formatter settings, select a piece of code, then Alt + Enter | Format Selection | Configure", and R++ will show you a window with the settings that affect the selected code snippet.

1

Please sign in to leave a comment.