Resharper 一直禁用“显示实时语义错误";在 Visual Studio 2010 中 [英] Resharper keeps disabling "Show live semantic errors" in Visual Studio 2010

查看:50
本文介绍了Resharper 一直禁用“显示实时语义错误";在 Visual Studio 2010 中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何防止 Resharper 禁用显示实时语义错误"&Visual Studio 中的下划线错误"选项?似乎每当我去手动启用它们时,它们都会在一段时间后以某种方式恢复为禁用状态 - 我怀疑 Resharper 会这样做.有什么补救办法吗?

How do I keep Resharper from disabling the "Show live semantic errors" & "Underline errors" options in Visual Studio? It seems that whenever I go and manually enable them, they somehow revert back to disabled after some time - I suspect Resharper of doing this. Is there any remedy for this?

推荐答案

如果要保留 VS 错误检测选项,则必须关闭 ReSharper 自己的代码分析.

You have to turn off ReSharper's own code analysis if you want the VS error detection options to be preserved.

为此,请转到 ReSharper > 选项 > 代码检查 > 设置,然后取消选择启用代码分析".

To do that, go to ReSharper > Options > Code Inspection > Settings, and deselect "Enable code analysis".

如果 ReSharper 代码分析处于开启状态,它会在每次初始化时关闭 VS 原生 C# 错误突出显示.鉴于 ReSharper 的 1k+ 自己的代码突出显示,此 VS 功能被认为是多余的.

If ReSharper code analysis is on, it turns VS native C# error highlighting off on every initialization. This VS functionality is considered redundant in light of ReSharper's 1k+ own code highlightings.

这篇关于Resharper 一直禁用“显示实时语义错误";在 Visual Studio 2010 中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆