本文介绍了在CodeRush中查找键绑定定义的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果我部署了一个Community插件,并在CodeRush中设置了一个键绑定,那么我现在可以在选项对话框/树层次结构中找到我提交的地址?

解决方案

打开CodeRush选项屏幕(从菜单中选择 DevExpress \选项或按 Ctrl + Shift + Alt + O



然后在左侧的页面层次结构中找到 IDE \ Shortcuts 文件夹。



在快捷树上方,有一个工具栏包含几个在不同情况下有用的按钮。





在这种情况下,以下2个选项可能有用。



选项1 - 搜索 p>


  • 工具栏上的第二个图标(放大镜)是可用于搜索快捷方式的搜索工具。

  • 您可以按文件夹,密钥绑定,鼠标绑定或命令名称进行搜索。





选项2 - 分层和排序




  • 点击工具栏(文件夹)中的第三个最后一个图标来折叠层次结构。

  • 您现在将在平面网格而不是树中查看相同的快捷方式。

  • 您现在应该能够通过快捷方式或命令进行排序找到你以后的绑定。



我们建议将用户创建的绑定放置在层次结构中的自定义根文件夹中,以便轻松区分自己的快捷方式和CodeRush附带的快捷方式。



这也可以轻松地将这些快捷方式转移到其他机器,因为这将使所述快捷方式放在自己的文件中。


If I deployed a Community plugin and set up a key-binding in CodeRush, how do I now find where I filed it in the options dialog / tree hierarchy ?

解决方案

Open the CodeRush options screen (Either choose DevExpress \ Options from the menu or hit Ctrl+Shift+Alt+O)

Then locate IDE \ Shortcuts folder in the page hierarchy on the left.

Above the shortcut tree, there is a toolbar containing several buttons which are useful in different circumstances.

In this case the following 2 options may be of some use.

Option 1 - Search

  • The 2nd last icon on the toolbar (a magnifying glass) is a search facility which can be used to search for shortcuts.
  • You can search by folder, key binding, mouse binding or by command name.

Option 2 - Flatten hierarchy and sort.

  • Click third last icon in the toolbar (a folder) to collapse the hierarchy.
  • You'll now be viewing the same set of shortcuts in a flat grid rather than in a tree.
  • You should now be able to sort by either Shortcut or Command and easily locate the binding you're after.

We recommend placing user created bindings in a custom root folder within the hierarchy so as to easily distinguish between your own shortcuts and those shipped with CodeRush.

This can also ease transferal of these shortcuts to other machines since this will cause said shortcuts to be placed in a file of their own.

这篇关于在CodeRush中查找键绑定定义的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

06-10 16:09