Temporarily disable StyleCop warnings on ReSharper

2020-04-02 08:08发布

I downloaded StyleCop 4.6.3 which integrates with ReSharper 6 and the results are really fantastic!

However on a specific project I would like to disable the StyleCop warnings (temporarily) and enable again later on.

Is there any way of doing this? I can't seem to find it on the ReSharper menu (options, etc).

1条回答
啃猪蹄的小仙女
2楼-- · 2020-04-02 08:54

You can use different Settings.Stylecop settings for each project, just create one that ignores all the rules. Right click on a project and select Stylecop settings to modify them.

I think you can also disable plugins by unticking them from ReSharper->Plugins... (in version 5.1, not sure if it's the same in 6.0)

查看更多
登录 后发表回答