提示的键盘快捷键

发布于 2024-12-21 07:40:43 字数 228 浏览 4 评论 0原文

通常,当我选择一个提示(例如重构我所在的某一行)时,当紫色提示图标或灯泡图标显示在左侧时,我单击它,然后选择我想要的重构。

我不想用我的鼠标。我如何打开左侧的对话框...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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

意中人 2024-12-28 07:40:43

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.

伴我老 2024-12-28 07:40:43

还有 Visual Studio 方案 的 Resharper 6.1 默认键盘映射和 IDEA 方案

更新:

并且,如果有人使用更新版本:

7

  • Visual Studio 方案
  • < a href="http://www.jetbrains.com/resharper/docs/ReSharper70DefaultKeymap_IDEA_scheme.pdf" rel="noreferrer">IDEA方案

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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文