Search code examples
c#visual-studiovisual-studio-2008stylecop

Is there a shortcut to repeat the last StyleCop scan


I'm sorting out my StyleCop violations a file at a time.

Is there a quick way of repeating the last scan without right-clicking on the file in the Solution Explorer and selecting Run StyleCop?


Solution

  • You can go to Tools -> Options -> Environment -> Keyboard. There, you can find the "RunStyleCop" command and assign any shortcut keys you want.