RubyMine how to use keyboard shortcuts to improve efficiency

RubyMine have editing, navigation, refactoring, debugging, most commands and other tasks related to the keyboard shortcuts. Remember these hot keys allow you to put your hand on the keyboard, thereby improving efficiency.

The following table lists some of the most useful shortcuts:

shortcut
action
Double ⇧
Search everywhere
to find any content related to RubyMine or your project and open it, execute it or jump to it.
⌃⇧A Looking for action
to find the command and execute it, open the Tools window or search settings.
⌃N
⌃⇧N
⌃⌥⇧N
Find a class, file or symbol
to find and jump to the desired class, file or symbols.
Dual ^
Run anything
execute commands, such as opening a project, start to run / debug configuration, run the command-line utility and so on. Available commands depend on plug-ins and tools that you configured for the project.
⌃E View recent file
selection of recently opened files from the list.
⌥⏎ Display intention action
to improve or optimize code structure.
⌃Space The basic code completion
full names of classes, methods, fields, and keywords in the visible range.
⌃W
⌃⇧W
Expanded or reduced range of options
to increase or decrease depending on the particular choice of the code structure.
⌃/
⌃⇧/
Add / delete rows or prevent comment
comment out a line or piece of code.
⌃⇧F7 Highlight the file usage
highlight all the selected clip appears in the current file.

Choosing the right keyboard mapping # 

To view the keyboard mapping configuration, open the "Settings / Preferences" dialog box, ^⌥S then select "Keyboard Mapping."

Enable function key and check for possible conflicts with the global OS shortcut.

  • Use predefined key mappings
    RubyMine will automatically select a predefined key mappings for your environment. Make sure it is with the operating system you are using matches, or select another IDE or editor you're used to (for example, Eclipse or NetBeans) matching shortcuts.

  • Adjust your keyboard mapping
    You can modify any copies of predefined key mappings for your frequently used commands assign your own shortcuts.

  • Import custom key mappings
    if you have your own habits custom keyboard map, you can transfer it to the installation.

Learn shortcuts at work # 

RubyMine offers the possibility of learning several shortcuts:

  • "Lookup operation" is the most important command that allows you to search for commands and settings in all menus and tools.
    Press ^⇧A and start typing to get a list of suggested actions. Then select the necessary operations, and then press ⏎ execution.寻找行动

  • Key Promoter X is a plug-in, just use the mouse to execute commands, pop-up notification will be displayed with the corresponding keyboard shortcuts. It is recommended that you create a shortcut for the command frequently performed.

  • If you are using one of the predefined keyboard mapping of the operating system, you can print the default keyboard mapping reference card ...

    • The default key mapping macOS

    • Windows / Linux's default key mapping

  • ...... If necessary, please consult on the table. This cheat sheet can also help | find the keyboard refer to the following map.

Using Advanced Features # 

You can further improve efficiency by following useful features:

  • Quick List
    If you frequently use a set, use a shortcut to create a custom list to access them quickly. For example, you can try the following predefined quick list:

    • Reconstruction of this ^⌥⇧T

    • VCS operation ⌥`

  • Smart Key
    RubyMine offers a variety of aids, such as automatically add labels and matching quotation marks, as well as detection CamelHump words.

  • Search speed
    when the focus is on with a tree, the tool window list or table, start typing the item to see a match.

  • 按两次
    RubyMine中的许多操作在您多次执行时会提供更多结果。例如,当您使用字段,参数或变量声明的一部分调用基本代码完成 时⌃Space,它会根据当前范围内的项类型建议名称。如果再次调用它,它将包括通过模块依赖性提供的类。当连续第三次调用时,建议列表将包括整个项目。

  • 调整工具窗口的大小
    您可以在不使用鼠标的情况下调整工具窗口的大小:

    • 要调整垂直工具窗口的大小,请使用⌃⇧←和⌃⇧→

    • 要调整水平工具窗口的大小,请使用⌃⇧↑和⌃⇧↓


Guess you like

Origin blog.51cto.com/14370425/2437127