提示的键盘快捷键
通常,当我选择一个提示(例如重构我所在的某一行)时,当紫色提示图标或灯泡图标显示在左侧时,我单击它,然后选择我想要的重构。
我不想用我的鼠标。我如何打开左侧的对话框...resharper 会不显眼地向您显示左侧的任何对话框?
只是想找到一种比使用鼠标更快的方法。首先,要弄清楚如何使用键盘打开该对话框,而不是使用鼠标单击它。
我正在使用 ReSharper 6.1,不确定键盘快捷键是否重要。
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.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
Ctrl+Shift+R 打开重构选项(如果您正在寻找的话)。如果灯泡出现提供任何提示,您可以使用 Alt+Enter 调出菜单。
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.
还有 Visual Studio 方案 的 Resharper 6.1 默认键盘映射和 IDEA 方案。
更新:
并且,如果有人使用更新版本:
7
8
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
8