Can I only apply styles with high severity when clean up?

In our team, there are some syntax styles we don't really care and we allow developers to choose the style he prefer, so we make the severity of those rules "Do not show". However, when we perform a code cleanup, resharper still apply those styles.

Can I only apply styles with severity warning or error?

2 comments
Comment actions Permalink

Hi Leechisan2007!

Such functionality is yet to be implemented in ReSharper.

For the moment, the severity level of syntax does not impact code clean-up. 

I would suggest creating a custom clean-up profile where you could choose what rules apply or not on a group basis.

In addition, it would be great if you submit a feature request in our tracker with your vision of the functionality. On the tracker, others can see your request and add their vote if they find such a tool would be useful, which helps our team to better understand which features/tools our users are eager for. I believe this can help give the best visibility for your request.

Have a nice day!

0

Please sign in to leave a comment.