Format code with brackets on same line

Hi,

I like to format my code as below:

if (this.form.InvokeRequired)
{ return this.form.Invoke(method); }
else
{ return method.DynamicInvoke(); }

That is, with brackets on the same line as the statement for a single line statement. Does Resharper support this formatting convention? I couldn't see anything obvious in the Options dialog.

Thanks in advance,

Max

0
2 comments

Unfortunately, this coding style is not yet supported :(

0
Avatar
Permanently deleted user

Thanks for your reply Eugene, I have filed a JIRA issue for this: http://www.jetbrains.net/jira/browse/RSRP-29442.

Hope to see it fixed soon _

0

Please sign in to leave a comment.