开发者

how do i tell resharper to apply suggested refactors in a non-one-at-a-time way?

Scenario:

I run the "find code issues" function in resharper.

I go one by one, clicking in the little icon-drop-downs that appear.

For example, a WinForms form with all the event handlers generated by VS2010

  • if you don't access class memebers, they can be made static
  • resharper's su开发者_如何学Pythonggested naming is cleaner (to me)

Problem:

I just spent 15 minutes living the life of George Jetson, e.g. clicking a button over and over again, to get what I wanted.

QUESTION: Is there a way to automate all the clicking I just described?


I think the closest you could get is Ctrl+Alt+F for Code Cleanup. This won't do the specific example you gave, but it will do a lot of other ones.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜