formatting()

I love the resharper product. The only issue I have with it is a small one,
but very annoying. Resharper messes with my formatting of parenthesis. I
prefer if( something is something ) to if (something is something), but
Resharper forces me to use the latter. Even if I type it the way I want
into a template, Resharper will change it.

The only place I can think of where I don't put spaces between the
parentheses and content is when casting, ie. (something)something.

I know others prefer the alternate style as I got it from some online
samples and the last place I worked adopted it for their projects.

Again, it's not a show stopper, but this would help with my peace of mind.
Just thought I'd give you that input if you'd like it.

Drew


2 comments
Comment actions Permalink

Hello Drew,

ReSharper has a long list of settings and preferences to maintain your individual
style. I too prefer spaces within my parentheses.

Try the R# options at ReSharper->Options..., Code Style->C#->Spaces.

Good luck!

Ed

I love the resharper product. The only issue I have with it is a small
one, but very annoying. Resharper messes with my formatting of
parenthesis. I prefer if( something is something ) to if (something
is something), but Resharper forces me to use the latter. Even if I
type it the way I want into a template, Resharper will change it.

The only place I can think of where I don't put spaces between the
parentheses and content is when casting, ie. (something)something.

I know others prefer the alternate style as I got it from some online
samples and the last place I worked adopted it for their projects.

Again, it's not a show stopper, but this would help with my peace of
mind. Just thought I'd give you that input if you'd like it.

Drew



0
Comment actions Permalink

Exactly what I was looking for. Thanks Ed


"Ed Chapel" <echapel@crosscurrentinc.com> wrote in message
news:106baec80f388c7c2428845cd30@news.jetbrains.com...

Hello Drew,

>

ReSharper has a long list of settings and preferences to maintain your
individual style. I too prefer spaces within my parentheses.

>

Try the R# options at ReSharper->Options..., Code Style->C#->Spaces.

>

Good luck!

>

Ed

>
>> I love the resharper product. The only issue I have with it is a small
>> one, but very annoying. Resharper messes with my formatting of
>> parenthesis. I prefer if( something is something ) to if (something
>> is something), but Resharper forces me to use the latter. Even if I
>> type it the way I want into a template, Resharper will change it.
>>
>> The only place I can think of where I don't put spaces between the
>> parentheses and content is when casting, ie. (something)something.
>>
>> I know others prefer the alternate style as I got it from some online
>> samples and the last place I worked adopted it for their projects.
>>
>> Again, it's not a show stopper, but this would help with my peace of
>> mind. Just thought I'd give you that input if you'd like it.
>>
>> Drew
>>
>



0

Please sign in to leave a comment.