is it possible to format a single statement method on one line?

I have my options set to K&R bracing, which is in fact what I want unless its a simple method with a single line, as in:

private bool _isSimpleMethod() { return true; }

I thought I had this working, but there are so many options it's easy to get confused. Sorry if this is an obvious one.

Cheers,
Eric

1 comment
Comment actions Permalink

ReSharper->Options->c#->Formatting Style ->Line Break and
Wrapping->Other->Place simple method on single line

--
Eugene Pasynkov
Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
"Eric_Fingerhut" <efingerhut@cox.net> wrote in message
news:16305809.26191211832649113.JavaMail.jive@app4.labs.intellij.net...
>I have my options set to K&R bracing, which is in fact what I want unless
>its a simple method with a single line, as in:
>

private bool _isSimpleMethod() { return true; }

>

I thought I had this working, but there are so many options it's easy to
get confused. Sorry if this is an obvious one.

>

Cheers,
Eric



0

Please sign in to leave a comment.