Resharper keeps disabling “Show live semantic errors” in Visual Studio 2010

那年仲夏 提交于 2019-12-23 11:39:07

问题


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?


回答1:


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

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

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.



来源:https://stackoverflow.com/questions/7464772/resharper-keeps-disabling-show-live-semantic-errors-in-visual-studio-2010

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!