Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Disable code analysis for current file in ReSharper

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.

like image 809
Kjetil Klaussen Avatar asked Jun 30 '10 08:06

Kjetil Klaussen


People also ask

How do I change my ReSharper settings?

To configure the main set of ReSharper preferencesIn the Visual Studio menu, choose ReSharper | Options. In the Options dialog that appears, select a node in the left pane and configure settings in the right pane. Use the search box in the left top corner to find a specific preference.

How do I run a ReSharper code analysis?

ReSharper helps you resolve most of the discovered code issues automatically. All you need is to press Alt+Enter when the caret is on a code issue highlighted in the editor and check the suggested quick-fixes.

In which form Jetbrains ReSharper presents all issues and errors?

ReSharper is capable of detecting errors not only in plain C# or VB.NET code, but in ASP.NET code-behind files, references in markup files, and ASP.NET MVC calls.


1 Answers

Ctrl + Shift + Alt + 8?

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

like image 134
BenW Avatar answered Sep 21 '22 05:09

BenW