5 comments
Comment actions Permalink

Hello Matteo
     Do you use the StyleCop for ReSharper plug-in? As far as I know it comes with the corresponding type member layout pattern. Thank you!

Andrey Serebryansky

Senior Support Engineer

JetBrains, Inc

http://www.jetbrains.com

"Develop with pleasure!"

0
Comment actions Permalink

I've seen that there's a new "Code Cleanup" option, the "StyleCop" option, but if I change the status of the checkboxes to be compliant with my rules (e.g. no headers o XML comment for properties) they are not maintened after save and close the ReSharper options dialog.

Thanks!

Matteo Migliore
Italian blog http://blogs.ugidotnet.org/matteomigliore
Twitter @matteomigliore
CodePlex projects - All .NET Samples - HyperionSDK

0
Comment actions Permalink

>"they are not maintened after save and close the ReSharper options dialog"

Maybe part of fixes for 6.1.1 ( see http://youtrack.jetbrains.net/issue/RSRP-287390 "Code Cleanup Profile Settings Like Var and Optimize Settings Are not Saved").
You can try out the EAP via http://confluence.jetbrains.net/display/ReSharper/ReSharper+6.1.1+Nightly+Builds

0
Comment actions Permalink

Andrey,

As far as I know it comes with the corresponding type member layout pattern.


Sadly only 1 of 2 refactorings or quick fixes respect those type member
layout patterns.

--
/\/\arkus.

0
Comment actions Permalink

Yes.

The XML "Type members layout" is needed to be compliant to StyleCop to automatic format the code.

Where we can find it?

P.S.
Which is the shortcut for the "Silent cleanup code" with ReSharpe keyboard schema?
CTRL+ALT+F shows the dialog and I don't want it.

Thanks!

Matteo Migliore
Italian blog http://blogs.ugidotnet.org/matteomigliore
Twitter @matteomigliore
CodePlex projects - All .NET Samples - HyperionSDK

0

Please sign in to leave a comment.