Keyboard Shortcut for Hints

爱⌒轻易说出口 提交于 2019-12-22 04:19:16

问题


usually when I select a hint such as refactoring a certain line that I am on, when the purple hint icon or the light bulb icon shows to the left, I click on it then select the refactoring I desire.

I don't want to use my mouse. How do I get that dialog open on the left...really any dialog on the left that resharper unobtrusively shows you?

Just trying to figure out a faster way than with my mouse. First thing is to figure out how to get that dialog up with the keyboard, not click on it with the mouse.

I'm using ReSharper 6.1, not sure if it matters with keyboard shorctuts.


回答1:


Ctrl+Shift+R opens the refactoring options if that's what you are looking for. If light bulb shows up to offer any hints you can use Alt+Enter to bring up the menu.




回答2:


There's also the Resharper 6.1 default keyboard map for the Visual Studio scheme and the IDEA scheme.

Update:

And, if anyone is using more recent versions:

7

  • Visual Studio scheme
  • IDEA scheme

8

  • Visual Studio scheme
  • IDEA scheme


来源:https://stackoverflow.com/questions/8514670/keyboard-shortcut-for-hints

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!