RubyMine 5.4.0 Web Help

FunctionShortcutUse this shortcut to...
Comment with Line Comment Ctrl+Slash; Ctrl+DivideCtrl+Slash; Ctrl+Divide Comment/uncomment current line or selected block with line comments.
Comment with Block Comment Ctrl+Shift+Slash; Ctrl+Shift+DivideCtrl+Shift+Slash; Ctrl+Shift+Divide Comment/uncomment code with block comments.
Quick Documentation Ctrl+QCtrl+Q/Alt+Button2 ClickAlt Button2 Click Show a pop-up window with the documentation for the symbol at the caret.
Pop-up Hector Ctrl+Alt+Shift+HCtrl+Alt+Shift+HShow the Highlighting level pop-up window to configure highlighting in the current file.
Parameter Info Ctrl+PCtrl+P Show parameters of the method call at the caret.
Context InfoAlt+QAlt+QShow the current method or class declaration when it is not visible.
Error Description Ctrl+F1Ctrl+F1 Show an error or warning description at the caret.
External Documentation Shift+F1Shift+F1 Open browser with the documentation for the selected item.
Override Methods... Ctrl+OCtrl+O Override base class methods in the current class.
Surround with... Ctrl+Alt+TCtrl+Alt+T Surround selected code fragment with if, do, tags or other constructs.
Generate Alt+InsertAlt+Insert Invoke the Generate pop-up menu. For example, refer to Creating Rails Application Elements, Generating RSpec Testing Infrastructure, or Creating Test Templates.
Basic Code Completion Ctrl+SpaceCtrl+Space
Alt+SlashAlt+Slash
Code completion for any class, method or variable.
SmartType Code Completion Ctrl+Shift+SpaceCtrl+Shift+Space Code Completion filtering the lookup list basing on expected type.
Expand Word Alt+SlashAlt+Slash Goes through the names of classes, methods, keywords and variables in the current visibility scope.
Insert Live Template... Ctrl+JCtrl+J Show a pop-up list of starting with a specified prefix.
Surround with Live Template... Ctrl+Alt+JCtrl+Alt+J Surround the selection with one of the templates.
Next Template Variable Tab; EnterTab; Enter In templates: move the caret to the next template variable.
Previous Template Variable Shift+TabShift+Tab In templates: move the caret to the previous template variable.

See Also

Procedures:

Reference:

Web Resources: