RubyMine 2016.1 Help

Index of Menu Items

RubyMine menu structure doesn't align with RubyMine help structure. This page lists RubyMine menu items, linked to the corresponding help topics.

In this section:

File

Menu itemKeyboard shortcutDescription
New ProjectUse this command to create a new project.
NewAlt+Insert Use this command to create a new element in a project. This command is only available in the corresponding context.
OpenUse this command to open the specified directory, or an existing RubyMine project. A directory that contains a project is marked with project_icon icon.

Refer to the section Opening, Reopening, and Closing Projects.

This command is duplicated with folder icon on the main toolbar.

Open URLUse this command to open source code of a web page in the editor.
Open RecentUse this command to open one of the recent projects. Refer to the reopening projects procedure.
Close ProjectUse this command to close all the projects opened in the current window . Refer to the sections Opening Multiple Projects and Opening, Reopening and Closing Projects for details.
Settings (on Windows/*NIX)/RubyMine Preferences (on OS X)Ctrl+Alt+SUse this command to change the project and IDE configurations in the Settings/Preferences dialog. See also the section Configuring Settings.

This command is duplicated with settings icon on the main toolbar.

This command in available on Windows/Linux. On Mac OS it appears on the RubyMine menu and has the name Preferences.

Default Settings...Choose this command to change settings that will apply to all newly created projects. Refer to the section Accessing Default Settings.
Import Settings...Choose this command to import settings from an archive.
Export Settings...Choose this command to export settings to an archive.
Save AllCtrl+SChoose this command to save all changes, when editing is over.

This command is duplicated with mainToolbarSave icon on the main toolbar.

SynchronizeCtrl+Alt+YChoose this command to check the RubyMine caches and bring them up-to-date by keeping in sync with external changes.

This command is duplicated with refresh icon on the main toolbar.

Invalidate Caches/Restart...Choose this command to clean the system cache.
Export to HTML...Use this command results to save selected files in HTML format.
Print...Choose this command to print selected file on the default printer. Refer to the Print dialog description.
Add to FavoritesUse this command to add the selected files to the list of Favorites. Click the right arrow to select the list of favorites you want to be modified.

Refer to the description of the Favorites tool window.

File EncodingUse this command to change encoding of an individual file. See also the section Encoding.
Line SeparatorsUse this command to select the desired line separator style. Refer to the section Configuring Line Separators.
Make File Read-Only / Make File WritableUse these toggle commands to change read-only status of a file selected in the Project tool window, or currently active in the editor. If a file is made read-only, it is marked with lock, and doesn't allow editing.

You can also toggle read-only attribute of a file in the Status bar.

Power Save ModeUse this mode if you are working with a laptop. If Power-Save mode is on, then the background processes are turned off, to minimize the power consumption.

You can also turn this mode on or off by clicking hector in the Status bar.

ExitChoose this command to quit RubyMine.

This command in available on Windows/Linux. On Mac OS it appears on the RubyMine menu and has the name Quit RubyMine.

Edit

Menu itemKeyboard shortcutDescription
Undo <action>Ctrl+ZUse this command to roll actions back.

This command is duplicated with mainToolbarUndo icon on the main toolbar.

Redo <action>Ctrl+Shift+ZUse this command to repeat the last actions.

This command is duplicated with mainToolbarRedo icon on the main toolbar.

CutCtrl+X Choose this command to take the selected characters to the clipboard and delete them. Refer to the section Cutting, Copying, and Pasting.

This command is duplicated with mainToolbarCut icon on the main toolbar.

CopyCtrl+C Choose this command to take the selected characters to the clipboard. Refer to the section Cutting, Copying, and Pasting.

This command is duplicated with copy icon on the main toolbar.

Copy PathCtrl+Shift+C Choose this command to take the path to the selected symbol to the clipboard. Refer to the section Cutting, Copying, and Pasting.
Copy as Plain TextCtrl+Shift+C Choose this command to take the selected fragment to the clipboard without formatting. Refer to the section Settings/Preferences | Editor | General.
Copy ReferenceCtrl+Shift+Alt+C Choose this command to take a reference to a symbol to the clipboard. Refer to the section Cutting, Copying, and Pasting.
PasteCtrl+VChoose this command to place the latest entry from the Clipboard at the insertion point. Refer to the section Cutting, Copying, and Pasting.

This command is duplicated with mainToolbarPaste icon on the main toolbar.

Paste from History...Ctrl+Shift+VChoose this command to place at the insertion point the selected entry from the Clipboard. Refer to the section Cutting, Copying, and Pasting.
Paste SimpleCtrl+Shift+Alt+VChoose this command to place the last entry from the Clipboard at the insertion point as plain text. Refer to the section Cutting, Copying, and Pasting.
DeleteDeleteChoose this command to delete the selected files, or folder from the project tool window, or selected fragment of text from the active editor.
FindPoint to this node to reveal the sub-menu of search commands:
Find/ReplaceCtrl+F/Ctrl+R Find or replace text in a current file.

These commands are duplicated by find and renameFavoritesList icons on the main toolbar.

Find Next/Find PreviousF3/Shift+F3Use these commands to navigate through the search results in a file. See Finding and Replacing Text in File.
Find Word at CaretCtrl+F3 Use this command to jump to the next occurrence of the word where the caret rests. See Finding and Replacing Text in File.
Find in Path/Replace in PathCtrl+Shift+F/Ctrl+Shift+R Use these commands to search for, and replace a text fragment in a whole project. Refer to the section Finding and Replacing text in Project.
Search/Replace StructurallyUse these commands to perform structural search or replace. Refer to the section Structural Search and Replace for details.
Find UsagesAlt+F7 Use this command to search for the usages of a symbol across an entire project. Refer to the section Finding Usages in Project.
Find Usages SettingsCtrl+Shift+Alt+F7 Use this command to search for the usages of a symbol across an entire project, after setting the desired search options. Refer to the section Finding Usages in Project.
Show UsagesCtrl+Alt+F7 Use this command to bring up a list of the usages of a symbol across the whole project. Refer to the section Viewing Usages of a Symbol.
Find Usages in a FileCtrl+F7 Refer to the section Finding Usages in the Current File.
Highlight Usages in a FileCtrl+Shift+F7 Use this command to visualize usage of a symbol in the current file. Refer to the section Highlighting Usages.
Recent Find UsagesCtrl+E Choose this command to view the recent search results. Refer to the section Viewing Recent Find Usages.
MacrosPoint to this node to reveal the sub-menu of the macros-related commands. Refer to the section Using Macros in the Editor.
Column Selection ModeShift+Alt+InsertUse this command to toggle between column selection and line selection modes. Refer to the section Selecting Text in the Editor.
Select AllCtrl+AChoose this command to select all contents of the current file. Refer to the section Selecting Text in the Editor.
Extend SelectionCtrl+WChoose this command to select the current word. Use this command successively to extend selection. Refer to the section Selecting Text in the Editor.
Shrink SelectionCtrl+Shift+WChoose this command to unselect the currently selected word. Use this command successively to shrink selection. Refer to the section Selecting Text in the Editor.
Join LinesCtrl+Shift+JChoose this command to join lines or literals.
Fill ParagraphChoose this command to create soft wraps in a paragraph.
Duplicate LinesCtrl+D Choose this command to duplicate a line or fragment of text. Refer to Adding, Deleting and Moving Code Elements.
Indent Selection/Unindent SelectionTab/Shift+Tab Choose this command to change indentation of the line at caret. Refer to the section Changing Indentation.
Toggle CaseCtrl+Shift+U Choose this command to change case of the selection. See Toggling Case.
Convert IndentsPoint to this node to reveal the sub-menu of the possible indentation and toggle indentation style. Refer to Changing Indentation.
Encode XML/HTML Special CharactersChoose this command to convert the selected special character to its HTML name in the format &char;.
Edit as TableChoose this command to invoke the table editor for the current documents.

View

Menu itemKeyboard shortcutDescription
Tool WindowsPoint to this node to reveal the list of the available tool windows. Refer to the section Manipulating the Tool Windows.
Quick DefinitionCtrl+Shift+I Choose this command to open the quick definition pop-up. Refer to the section Viewing Definition.
Quick DocumentationCtrl+QChoose this command to view quick documentation pop-up window.
Parameter InfoCtrl+PChoose this command to view method parameter information.
Context InfoAlt+QChoose this command to show the current cursor position, if it runs out of the visible editor pane.
Recent FilesCtrl+EChoose this command to show the pop-up list of recently opened files and tool windows, and navigate to them.
Recently Changed FilesCtrl+Shift+EChoose this command to show the pop-up list of recently changed files and navigate to them.
Recent ChangesShift+Alt+CChoose this command to open the pop-up list of recent changes.
Compare with ClipboardChoose this command to compare the file currently opened in the editor with the contents of the system clipboard. See Comparing Files.
Quick Switch SchemeCtrl+Back QuoteChoose this command to switch between schemes.
ToolbarSelect or clear this command to show or hide the main toolbar.
Tool ButtonsSelect or clear this command to show or hide the tool window buttons.
Status BarSelect or clear this command to show or hide the Status toolbar.
Navigation BarCheck this command to show or hide the Navigation bar.
Enter/Exit Presentation ModeChoose this command to enter or exit presentation mode.
Enter/Exit Distraction Free ModeChoose this command to enter or exit distraction-free mode.
Enter/Exit Full ScreenChoose this command to enter or exit full screen mode.

Navigate

Menu itemKeyboard shortcutDescription
Class/File/SymbolCtrl+N /
Ctrl+Shift+N
Ctrl+Shift+Alt+N
Choose these commands to find and jump to a class, file, or symbol by name.
Custom Folding...Ctrl+Alt+Period Choose this command to navigate between custom regions.
Line...Ctrl+GChoose this command to navigate to the specified line of code.
Back/ForwardCtrl+Alt+Left/Ctrl+Alt+RightChoose these commands to go through the history of the recently navigated items. These commands are duplicated with arrowBack.png and arrowForward.png buttons on the main toolbar.
Last/Next Edit LocationCtrl+Shift+BackspaceChoose these commands to jump to the latest edit location and back.
BookmarksPoint to this node to reveal the sub-menu of commands related to using bookmarks.
Select In...Alt+F1Choose this command to select the desired component from the pop-up list of possible targets.
Jump to Navigation BarAlt+HomeChoose this command to navigate across your project using the Navigation Bar.
DeclarationCtrl+BChoose this command to jump to a declaration of a symbol.
Implementation(s)Ctrl+Alt+BChoose this command to jump to an implementation of a method.
Type DeclarationCtrl+Shift+BChoose this command to jump to the type declaration of a symbol.
Super MethodCtrl+UChoose this command to jump to a super method of the method at caret.
TestCtrl+Shift+TChoose this command to navigate to an existing test, or create a test. See section Creating Tests.
Related Symbol...Ctrl+Alt+HomeSee Navigating Between Templates and Views.
File StructureCtrl+F12Choose this command to navigate through the source code using the File Structure view.
File PathCtrl+Alt+F12See Navigating to File Path.
Type/Method/Call HierarchyCtrl+H/Ctrl+Shift+H/Ctrl+Alt+HChoose these commands to navigate using the hierarchy views. Refer to the sections Viewing Structure and Hierarchy of the Source Code.
Next/Previous Highlighted ErrorF2Shift+F2Choose these commands to navigate through the highlighted errors.
Next/Previous Emmet Edit PointShift+Alt+Close Bracket/Shift+Alt+Open Bracket Refer to the section Emmet Support for details.
Next/Previous ChangeCtrl+Shift+Alt+DownCtrl+Shift+Alt+UpChoose these commands to navigate though the change markers (when VCS integration is enabled).
Next/Previous MethodAlt+DownAlt+UpChoose these commands to go up and down through the methods and tags.

Code

Menu itemKeyboard shortcutDescription
Override Methods...Ctrl+O Choose this command to override a method.
Implement Methods...Ctrl+I Choose this command to implement a method.
Generate...Alt+Insert Choose this command to create a new element. See (depending on the context) Populating Projects, Generating Code.
Surround With...Ctrl+Alt+T Choose this command to surround a logical fragment with code construct.
Unwrap/Remove...Ctrl+Shift+Delete Choose this command to unwrap an expression from enclosing statements.
CompletionPoint to this node to reveal the nested auto-completion commands.
FoldingPoint to this node to reveal the nested folding commands.
Insert Live Template...Ctrl+J Choose this command to create code constructs by live templates.
Surround with Live Template...Ctrl+Alt+J Choose this command to create code constructs using surround templates.
Comment with Line CommentCtrl+Slash Choose this command to comment an entire line of code. See Commenting and Uncommenting Blocks of Code.
Comment with Block CommentCtrl+Shift+Slash Choose this command to comment out a block of code. See Commenting and Uncommenting Blocks of Code.
Reformat Code...Ctrl+Alt+L Choose this command to perform code reformatting. See Reformatting Source Code.
Auto-Indent LinesCtrl+Alt+I Choose this command to change indentation.
Optimize Imports...Ctrl+Alt+O Choose this command to optimize import statements. See Optimizing Imports.
Rearrange CodeChoose this command to rearrange code according to the arrangement rules. See Rearranging Code Using Arrangement Rules.
Move Statement Up/DownCtrl+Shift+Up/Ctrl+Shift+Down Choose this command to move a statement up or down.
Move Parameter Left/Right N/A/N/A Choose this command to move an element in the list of parameters left or right.
Move Line Up/DownShift+Alt+Up/Shift+Alt+Down Choose this command to move a line at caret up or down.
Inspect Code...Choose this command torun an inspection.
Code CleanupChoose this command to open the dialogSpecify Code Cleanup Scope Dialog.
Run Inspection by Name... Ctrl+Shift+Alt+I Choose this command torun the specified inspection.
Configure Current File Analysis... Ctrl+Shift+Alt+H Choose this command tochange highlighting level of the current file.
View Offline Inspection Results...Choose this command to see inspection results stored on your computer. SeeViewing Offline Inspections Results .
Locate Duplicates...Choose this command to find code duplicates. Refer to Analyzing Duplicates.

Refactor

Note that the composition of this menu item depends upon the current context.

Menu itemKeyboard shortcutDescription
Refactor This...Ctrl+Shift+Alt+TChoose this command to open a pop-up menu of the refactorings available in the current context. Refer to the section Refactoring Source Code.
Rename...Shift+F6 Choose this command to rename an element.
Change Signature...Ctrl+F6Choose this command to perform change signature refactoring.
Move...F6 Choose this command to move a symbol to the specified location.
Copy...Ctrl+C Choose this command to create a copy of an element in the specified location.
Safe DeleteAlt+Delete Choose this command to delete a symbol, performing search for its usages.
ExtractChoose this command to perform one of the extract refactorings.
Inline...Ctrl+Alt+N Choose this command to perform inline refactoring.
Pull Members Up...Choose this command to perform pull members up refactoring.
Push Members DownChoose this command to perform push members down refactoring.
Invert BooleanChoose this command to perform invert boolean refactoring .

Run

Menu itemKeyboard shortcutDescription
Run <current run/debug configuration>Shift+F10 Choose this command to run the current script with the corresponding temporary run/debug configuration.

This command is duplicated with run icon on the main toolbar.

Debug <current run/debug configuration>Shift+F9 Choose this command to debug the current script with the corresponding temporary run/debug configuration.

This command is duplicated with debug icon on the main toolbar.

Run <current run/debug configuration> with CoverageChoose this command to run with coverage the current script with the corresponding temporary run/debug configuration.

This command is duplicated with runWithCoverage icon on the main toolbar.

Run...Shift+Alt+F10Choose this command to select the desired run/debug configuration, and then launch it. Refer to the section Creating and Editing Run/Debug Configurations.
Debug...Shift+Alt+F9Choose this command to select the desired run/debug configuration, and then launch it in debugging mode. Refer to the section Creating and Editing Run/Debug Configurations.
Edit Configurations...Choose this command to change run/debug configurations.
StopCtrl+F2 Choose this command to terminate execution of a run/debug configuration. This command is duplicated with stop icon in the toolboxes of the Run and Debug tool windows.
Import Test ResultsChoose this command to import test results from a file.
Show Running ListChoose this command to display a popup that lists all currently running applications. This option is disabled if there are no active applications at the moment.
Stepping CommandsThese commands become enabled with the debugger session on. Refer to the section Stepping Through the Program. See also descriptions of the stepping toolbar buttons in the Debug tool window reference.
Pause ProgramChoose this command to pause output of the current run or debug session. This command is duplicated with pauseIcon icon in the toolboxes of the Run and Debug tool windows.
Resume ProgramF9Choose this command to resume the debugger session with the selected run/debug configuration. This command is duplicated with debug_resume icon in the toolbox of the Debug tool windows.
Evaluate ExpressionAlt+F8 Choose this command to evaluate expression during the debug session.
Quick Evaluate ExpressionCtrl+Alt+F8Choose this command to performquick evaluation of an expression in the editor during the debug session.
Show Execution PointAlt+F10Choose this command to show execution point during the debug session.
Toggle Line BreakpointCtrl+F8Choose this command to turn on or off a line breakpoint. Refer to the section Creating Line Breakpoints.
Toggle Temporary Line BreakpointCtrl+Shift+Alt+F8Choose this command to turn on or off a temporary line breakpoint. Refer to the section Creating Line Breakpoints.
View Breakpoints...Ctrl+Shift+F8Choose this command to show all available breakpoints and change them in the Breakpoints dialog.

Tools

Note that composition of the menu Tools depends on the enabled plugins and external tools.

Menu itemKeyboard shortcutDescription
Tasks and ContextsPoint to this node to reveal the sub-menu of commands related to tasks and contexts management. See also Tasks reference page.
Analyze Stacktrace...Choose this command to analyze external stacktrace.
Run Ruby Console / Run Rails Console...Choose these commands to launch the interactive consoles. Refer to the section Running Console for details.

Note that Run Rails Console command is only available for the Rails projects.

Show Code Coverage DataCtrl+Alt+F6 Choose this command to view coverage results. Refer to the section Code Coverage.
Vim EmulatorSelect this check command to enable or disable Vim emulation. This command only appears when Vim plugin is installed and enabled. Refer to the tutorial Configuring RubyMine to work as a Vim editor.
Reconfigure Vim KeymapThis command is only visible, when Vim Emulator is checked. Choose it to select a different base keymap for Vim emulator.
DeploymentPoint to this node to reveal the sub-menu of deployment-related commands. Refer to the section Working with Web Servers: Copying Files.
Open terminalChoose this command to run the embedded local terminal.
Start SSH SessionChoose this command to launch a terminal on a remote SSH server. Refer to the section Running SSH Terminal.
Test RESTful Web ServiceChoose this command to compose and run requests to a RESTful web service. Refer to the section Testing RESTful Web Services.
VagrantPoint to this node to reveal the sub-menu of standard Vagrant actions. Refer to the section Vagrant: Working with Reproducible Development Environments, and to the tutorial Configuring PyCharm to work on a VM.

VCS

Note that the VCS menu contains different commands, depending on the enabled version control system. The following table shows the menu commands available when no version control integration is enabled.

Menu itemKeyboard shortcutDescription
Local HistoryPoint to this node to reveal the list of commands related to working with the Local History.
Enable Version Control Integration...Choose this command to associate a project root with one of the supported version control systems.
VCS Operations PopupAlt+Back Quote Choose this command to invoke the pop-up list of the most popular VCS actions.
Apply Patch...Choose this command to apply a patch.
Checkout from Version ControlPoint to this node to reveal the sub-menu of the checkout commands, specific for the supported version control systems. With no version control integration enabled, it is possible to check out from SVN, Mercurial, Git, GitHub, and CVS.
Import into Version ControlPoint to this node to reveal the sub-menu of the import commands, specific for the supported version control systems. With no version control integration enabled, it is possible to import to SVN, Mercurial, Git, GitHub, and CVS.
Browse VCS RepositoryPoint to this node to reveal the sub-menu of the browse commands, specific for the supported version control systems. Refer to the section Browsing Contents of the Repository. With no version control integration enabled, it is possible to browse the SVN, Git, and CVS repositories.

It is important to note that with VCS integration enabled, the composition of the VCS menu is different. Refer to the following help sections for details:

Window

Menu itemKeyboard shortcutDescription
Store Current Layout as DefaultChoose this command to save the current way the tool windows are arranged.
Restore Default LayoutShift+F12Choose this command to restore the initial way the tool windows are arranged.
Active Tool WindowChoose this command to reveal the sub-menu of commands, related to the active tool window. Refer to the sections RubyMine Tool Windows, Manipulating the Tool Windows, Specifying the Appearance Settings for Tool Windows, Viewing Modes.
Editor TabsChoose this command to reveal the sub-menu of commands, related to the editor tabs. Refer to the section Managing Editor Tabs.

Note that these commands can be also found on the context menu of an editor tab.

Background TasksChoose this command to reveal the sub-menu of commands, related to performing tasks in background. Refer to the section Working with Background Tasks.
Next Project Window / Previous Project WindowCtrl+Alt+Close Bracket
Ctrl+Alt+Open Bracket
Choose this command to switch between currently opened projects.
<project>Select project to be shown in the active window.

Help

Menu itemKeyboard shortcutDescription
Find ActionCtrl+Shift+AChoose this command to invoke an action by its name.
Help TopicsChoose this command to show the help topics.

Refer to the section Using Help Topics.

Tip of the DayChoose this command to show an arbitrary tip.

Refer to the section Using Tips of the Day.

Productivity GuideChoose this command to show productivity guide.
Submit FeedbackChoose this command to report your overall impression of RubyMine to the support service.

Refer to the section Reporting Issues and Sharing Your Feedback.

Show Log in Explorer/FinderChoose this command to find RubyMine's log.

Refer to the section Reporting Issues and Sharing Your Feedback for details.

Edit Custom PropertiesChoose this command to open the custom file idea.properties, located under the user home. If this file does not exist, RubyMine suggests to create it. Refer to the section Tuning RubyMine for details.
Edit Custom VM Options Choose this command to open the custom file *.vmoptions, located under the user home. If this file does not exist, RubyMine suggests to create it. Refer to the section Tuning RubyMine for details.
Debug Log SettingsChoose this command to change logging level for a category. Choosing this command leads to opening the Custom Debug Log Configuration dialog box, where you have to type the log categories names, separated with new lines.

Refer to the section Reporting Issues and Sharing Your Feedback.

Keymap ReferenceChoose this command to open the default keymap in PDF format.

Refer to the section Keymap Referencefor details.

Developer CommunityChoose this command to open the RubyMine community page.
Demos and ScreencastsChoose this command to open the RubyMine YouTube YouTube page.
JetBrains TVChoose this command to open JetBrains TV page.
RegisterChoose this command to register RubyMine.
Check for UpdateChoose this command to obtain information about the current version, and the availability of newer versions of RubyMine. Refer to Updates page.

This command in available on Windows/Linux. On Mac OS it appears on the RubyMine menu.

AboutChoose this command to obtain information about the current version of RubyMine, current build, etc. Press Escape to close the pop-up window.

This command in available on Windows/Linux. On Mac OS it appears on the RubyMine menu.

Last modified: 21 July 2016