How can you force StyleCop for ReSharper to ignore files?

后端 未结 3 654
无人及你
无人及你 2020-12-31 06:59

We’ve just been working on introducing StyleCop to our team and are using the StyleCop ReSharper plugin from Code Plex. Problem is, every single file in the project appears

3条回答
  •  臣服心动
    2020-12-31 07:40

    You can completely disable ReSharper for a particular file by pressing CTRL + 8. You'll see the little 'eye' in the top right of the code window (at the top of the gutter) go grey, indicating it's disabled.

    Press the keystroke again to re-enable it.

提交回复
热议问题