RubyMine 7.0.0 Web Help

Function Shortcut Use this shortcut to...
Comment with Line Comment Ctrl+Slash or Ctrl+NumPad /Ctrl+Slash or Ctrl+NumPad /Ctrl+Slash or Ctrl+NumPad /Ctrl+Slash or Ctrl+NumPad /Alt+SemicolonCtrl+Slash, Ctrl+NumPad / or Ctrl+ColonCtrl+Slash or Ctrl+Shift+CCtrl+Slash or Ctrl+NumPad /Meta+Slash or Meta+NumPad /Command Slash or Command NumPad /Command Slash or Command NumPad /Command Slash or Command NumPad /Command Slash or Command NumPad / Comment/uncomment current line or selected block with line comments.
Comment with Block Comment Ctrl+Shift+Slash or Ctrl+Shift+NumPad /Ctrl+Shift+Slash or Ctrl+Shift+NumPad /Ctrl+Shift+Slash or Ctrl+Shift+NumPad /Ctrl+Shift+Slash or Ctrl+Shift+NumPad /Ctrl+Shift+Slash or Ctrl+Shift+NumPad /Ctrl+Shift+Slash, Ctrl+Shift+NumPad / or Ctrl+Shift+ColonCtrl+Shift+Slash or Ctrl+Shift+NumPad /Ctrl+Shift+SlashCtrl+Shift+Slash, Ctrl+Shift+NumPad /, Shift+Meta+Slash or Shift+Meta+NumPad /Alt Command Slash, Alt Command NumPad /, Control Shift Slash, Control Shift NumPad /, Shift Command Slash or Shift Command NumPad /Control Shift Slash, Control Shift NumPad /, Shift Command Slash or Shift Command NumPad /Control Shift SlashControl Shift Slash, Control Shift NumPad /, Shift Command Slash or Shift Command NumPad / Comment/uncomment code with block comments.
Quick Documentation Ctrl+Q or Alt+Button2 ClickCtrl+Q or Alt+Button2 ClickCtrl+Q or Alt+Button2 ClickCtrl+Q or Alt+Button2 ClickCtrl+Q or Alt+Button2 ClickCtrl+QCtrl+Q or Alt+Button2 ClickAlt+Button2 Click, Ctrl+Shift+Space or F2Ctrl+Button2 Click or Ctrl+HF1, Control J or Control Button2 ClickControl J or Control Button2 ClickAlt Button2 Click or F2Control J or Control Button2 Click/Alt+Button2 Click Show a pop-up window with the documentation for the symbol at the caret.
Pop-up Hector Ctrl+Shift+Alt+HCtrl+Shift+Alt+HCtrl+Shift+Alt+HCtrl+Shift+Alt+HCtrl+Shift+Alt+HCtrl+Shift+Alt+HCtrl+Shift+Alt+HCtrl+Shift+Alt+HShift+Alt+Meta+HShift Alt Command HShift Alt Command HShift Alt Command HShift Alt Command H Show the Highlighting level pop-up window to configure highlighting in the current file.
Parameter Info Ctrl+PCtrl+PCtrl+PCtrl+PCtrl+PCtrl+PCtrl+PCtrl+PMeta+PCommand PCommand PCommand PCommand P Show parameters of the method call at the caret.
Context Info Alt+QAlt+QAlt+QAlt+QAlt+QAlt+QAlt+QAlt+QCtrl+Shift+QControl Shift QControl Shift QControl Shift QControl Shift Q Show the current method or class declaration when it is not visible.
Error Description Ctrl+F1Ctrl+F1Ctrl+1Ctrl+F1Ctrl+F1Ctrl+F1 or Alt+TCtrl+F1Ctrl+F1Meta+F1Command F1Command F1Command F1Command F1 Show an error or warning description at the caret.
External Documentation Shift+F1Shift+F1Shift+F1Shift+F1Shift+F1Shift+F1 or Ctrl+F1Shift+F1Shift+F2Shift+F1Shift F1Shift F1Shift F2Shift F1 Open browser with the documentation for the selected item.
Override Methods... Ctrl+OCtrl+OCtrl+OCtrl+OCtrl+OCtrl+Shift+OCtrl+OCtrl+OCtrl+OControl OCommand OControl OControl Shift O Override base class methods in the current class.
Surround with... Ctrl+Alt+TCtrl+Alt+TCtrl+Alt+TCtrl+Alt+TCtrl+Alt+TCtrl+Alt+TCtrl+Alt+TShift+Alt+Z or Ctrl+Alt+TAlt+Meta+TAlt Command TAlt Command TAlt Command ZAlt Command T Surround selected code fragment with if, do, tags or other constructs.
Generate Alt+InsertAlt+InsertAlt+InsertAlt+InsertAlt+InsertCtrl+N or Alt+InsertAlt+InsertAlt+InsertCtrl+N or Ctrl+EnterCommand N or Control EnterControl N or Control EnterCommand N or Control EnterControl N or Control Enter 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+SpaceCtrl+SpaceCtrl+SpaceAlt+SlashCtrl+SpaceCtrl+Space or Ctrl+Back SlashCtrl+SpaceCtrl+SpaceControl SpaceControl SpaceControl SpaceControl Space, Alt Escape or Shift Space
Alt+SlashAlt+SlashAlt+SlashAlt+SlashAlt+SlashAlt+SlashCtrl+Shift+KAlt+SlashAlt+SlashAlt SlashAlt SlashControl PeriodAlt Slash
Code completion for any class, method or variable.
SmartType Code Completion Ctrl+Shift+SpaceCtrl+Shift+SpaceCtrl+Shift+SpaceCtrl+Shift+SpaceCtrl+Shift+Space or Ctrl+Alt+SlashShift+Alt+SpaceCtrl+Shift+Space or Ctrl+Shift+Back SlashShift+Alt+SpaceCtrl+Shift+SpaceControl Shift SpaceControl Shift SpaceShift Alt SpaceControl Shift Space Code Completion filtering the lookup list basing on expected type.
Expand Word Alt+SlashAlt+SlashAlt+SlashAlt+SlashAlt+SlashAlt+SlashCtrl+Shift+KAlt+SlashAlt+SlashAlt SlashAlt SlashControl PeriodAlt Slash Goes through the names of classes, methods, keywords and variables in the current visibility scope.
Insert Live Template... Ctrl+JCtrl+JCtrl+JCtrl+JCtrl+JCtrl+JCtrl+JCtrl+Shift+Alt+JMeta+JCommand JCommand JCommand JCommand J Show a pop-up list of starting with a specified prefix.
Surround with Live Template... Ctrl+Alt+JCtrl+Alt+JCtrl+Alt+JCtrl+Alt+JCtrl+Alt+JCtrl+Alt+JCtrl+Alt+JCtrl+Alt+JAlt+Meta+JAlt Command JAlt Command JAlt Command JAlt Command J Surround the selection with one of the templates.
Next Template Variable Tab or EnterTab or EnterTab or EnterTab or EnterTab or EnterTab or EnterTab or EnterTab or EnterTab or EnterTab or EnterTab or EnterTab or EnterTab or Enter In templates: move the caret to the next template variable.
Previous Template Variable Shift+TabShift+TabShift+TabShift+TabShift+TabShift+TabShift+TabShift+TabShift+TabShift TabShift TabShift TabShift Tab In templates: move the caret to the previous template variable.

See Also

Procedures:

Reference:

Web Resources: