在ReSharper中禁用当前文件的代码分析 [英] Disable code analysis for current file in ReSharper

查看:66
本文介绍了在ReSharper中禁用当前文件的代码分析的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在ReSharper 4.x中,有一个快捷方式(Ctrl + 8)用于关闭当前文件的代码分析,但是我在ReSharper 5.0中找不到等效项.有人知道在哪里找到它吗?

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?

我想要这样做的原因是因为我想在编辑XAML文件时禁用ReSharper(因为它的运行速度非常慢...),并且我不想浏览选项>代码检查>设置"下的对话框. >为每个xaml文件编辑跳过的项目".而且我想在需要检查代码时暂时将其重新打开.

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.

推荐答案

Ctrl + Shift + Alt + 8 ?

Ctrl + Shift + Alt + 8?

此快捷键绑定到ReSharper_EnableDaemon-命令,因此您可以随意将其更改为所需的任何内容.

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

这篇关于在ReSharper中禁用当前文件的代码分析的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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