45

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.

Ciro Santilli OurBigBook.com
  • 347,512
  • 102
  • 1,199
  • 985
Kjetil Klaussen
  • 6,266
  • 1
  • 35
  • 29

1 Answers1

82

Ctrl + Shift + Alt + 8?

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

larsmoa
  • 12,604
  • 8
  • 62
  • 85
BenW
  • 1,312
  • 10
  • 18
  • 7
    sigh...you do wonder at times how it is possible to hit this key combination _at random_ – flq Oct 01 '11 at 15:56
  • This also holds for ReSharper 6. – larsmoa Aug 23 '12 at 08:58
  • 2
    This doesn't seem to work in VS2013/ReSharper 8.1. When I press the keystroke I see a prompt that tells me to use my arrow keys to move code. I've verified the command in the Keyboard options. Am I missing something? – Ian R. O'Brien Mar 05 '14 at 22:17
  • This disables it just for that file. I want to turn "code analysis" on/off globally. Couldn't find a command for that. – Robin Maben Jun 02 '14 at 07:12