忽略ReSharper的分析,设计和生成的文件文件、ReSharper

由网友(霸气小女巫)分享简介:我一直在使用ReSharper的几天,我真的很喜欢这个工具,但有一件事让我很烦这件事,我不知道它是可以改变的。I've been using Resharper for a few days and I really like this tool, but there's one thing that annoys...

我一直在使用ReSharper的几天,我真的很喜欢这个工具,但有一件事让我很烦这件事,我不知道它是可以改变的。

I've been using Resharper for a few days and I really like this tool, but there's one thing that annoys me about it and I wonder if it can be changed.

我收到很多问题的通知,从产生code(约1400在我的项目)。我要设置这些文件为忽略,因此他们不会被检查,你可以用了StyleCop做,codeAnalysis。很遗憾,看起来像ReSharper的忽略产生code设置从它的选择,因为我仍然得到同样的通知。我试过设置文件掩码(即对于 *。RESX ),并添加文件手动生成,但它仍然不会改变任何东西。

I'm getting lots of issue notifications from generated code (almost 1400 in my project). I'd want to set those files as ignored so they won't be checked as you can do with StyleCop and CodeAnalysis. Unfortunatelly it looks like Resharper ignores Generated Code settings from it's options because I'm still getting the same notifications. I've tried setting a file mask (i.e. for *.resx) and add files manually to generated, but still it doesn't change anything.

我不知道它的问题,但是我使用VS 2010。

I don't know if it matters but I'm using VS 2010.

推荐答案

我刚刚收到一个答案这个从ReSharper的支持:

I've just received an answer for this from ReSharper support:

为了跳过在code检查,你应该打开的ReSharper>选项> code检验>设置,preSS编辑项目跳过'和你的文件添加到列表中的文件。

In order to skip those files during code inspection you should open ReSharper > Options > Code Inspection > Settings, press 'Edit items to skip' and add your files to that list.

阅读全文

相关推荐

最新文章