Disable code analysis for current file in ReSharper

孤街浪徒 提交于 2019-11-28 18:26:19

问题


In ReSharper 4.x there was a shortcut (Ctrl+8) for turning off the code analysis for the current file, but I cannot find the equivalent in ReSharper 5.0. Anyone knows where to find it?

The reason I want this is because I want to disable ReSharper when editing XAML-files (because it's just incredibly slow...), and I don't want to go through the dialog under "Options > Code Inspection > Settings > Edit items to skip" for each and every xaml-file. And I want to turn it back on temporarily when I need the code inspection.


回答1:


Ctrl + Shift + Alt + 8?

This shortcut is bound to the ReSharper_EnableDaemon-command, so you are free to change it to whatever you want.



来源:https://stackoverflow.com/questions/3147445/disable-code-analysis-for-current-file-in-resharper

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