3

In Resharper, pressing Alt + Enter opens the quick fix list. For StyleCop for C#, an example of the menu that would open is the following:

Resharper 6.0 Quick-Fix enter image description here

In Reshaper 5.0, I seem to remember the "Insert Header" option would be before Suppress. Now, the Suppress option is always the first option, so my quick method of simply hitting Alt + Enter + Enter now auto-inserts a Suppression message instead of doing what I'd like it to.

Is there a way to move the "Insert header:" option, and other similiar options, to be the first option instead of Suppress?

Will Eddins
  • 13,628
  • 5
  • 51
  • 85

2 Answers2

1

I guess that it is not configurable and the best option is to create an issue at http://stylecop.codeplex.com.

Oleg Shuruev
  • 1,339
  • 8
  • 10
  • Thanks, I'll accept this if there really is no way to do it, but in the meantime I have put in an issue on StyleCop's site. – Will Eddins Dec 12 '11 at 18:26
  • Actually I don't know whether it was a good decision to place it as answer. Maybe it would be better if it were a comment? – Oleg Shuruev Dec 12 '11 at 20:06
  • Well if the answer is that there is no way to do it, then it's fine, and judging from the lack of responses, you could be right: http://stylecop.codeplex.com/discussions/282677 – Will Eddins Dec 14 '11 at 00:20
  • At the time, this was the correct answer. I submitted it to StyleCop, and they did fix it in 4.7.1.0. – Will Eddins Apr 02 '12 at 02:18
1

This is fixed from version 4.7.1.0 of StyleCop onwards.