Agent Smith vs. StyleCop in ReSharper 5.0

Hello...

I´m using bioth plugins with my ReSharper v5.0:StyleCop for ReSharper and Agent Smith.

But creating methonds there is a conflict:

If I type:
   private DataSet GetCategories ()
Agent Smith tells me that Methods names should be in Camel.

And if I type:
   private DataSet getCategories ()
Appears the StyleCope rule SA1300: Method names begin with upper-case.

So my questions are:
- Is possible to get working both plug-ins together without conflicts? How?
- Or do I need to choose one of them? Which one recommends me?

Thanks!

1 comment
Comment actions Permalink

Hello Gabriel,

You can simply disable the 'Private properties, methods, events should be
in camel' Agent Smith rule under ReSharper > Options > Languages > C# > Agent
Smith Code Style > Naming Conventions, or modify it so that it doesn't apply
to methods.

Andrey Serebryansky
Support Engineer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

Hello...

I?m using bioth plugins with my ReSharper v5.0:StyleCop for ReSharper
and Agent Smith.

But creating methonds there is a conflict:

If I type:
private DataSet GetCategories ()
Agent Smith tells me that Methods names should be in Camel.
And if I type:
private DataSet getCategories ()
Appears the StyleCope rule SA1300: Method names begin with upper-case.
So my questions are:
- Is possible to get working both plug-ins together without conflicts?
How?
- Or do I need to choose one of them? Which one recommends me?
Thanks!

---
Original message URL:
http://www.jetbrains.net/devnet/message/5264648#5264648



0

Please sign in to leave a comment.