IntelliJ IDEA 12.1.0 Web Help

FunctionShortcutUse this shortcut to...
EnterEnterEnter Depending on the context:
  • In a lookup list: select an item.
  • In the editor: enter a new line and set the caret at its beginning.
TabTabTab In the editor:
  • With selection: indent selected lines.
  • Without selection: insert a tab symbol (or corresponding number of space characters).
In a lookup list:
  • No code after the caret: select an item.
  • Some code after the caret: select an item and substitute the code after the caret with it.
DeleteDeleteDeleteDepending on the context:
  • In the editor: delete selected symbol/block.
  • In a usage view: exclude a selected item.
  • In other views: remove selected items.
BackspaceBackSpace; Shift+BackSpaceBackSpace; Shift+BackSpaceDelete a character to the left of the caret.
UndoCtrl+Z; Alt+BackSpaceCommand ZUndo last operation.
RedoCtrl+Shift+Z; Alt+Shift+BackSpaceCtrl+Shift+Z; Alt+Shift+BackSpaceRedo last undone operation.
CutCtrl+X; Shift+DeleteCtrl+X; Shift+DeleteCut a current line or a selected code block to the Clipboard.
CopyCtrl+C; Ctrl+InsertCtrl+C; Ctrl+InsertCopy a current line or a selected code block to the Clipboard.
PasteCtrl+V; Shift+InsertCtrl+V; Shift+InsertPaste from the Clipboard to the caret location.
Paste from HistoryCtrl+Shift+V; Ctrl+Shift+InsertCtrl+Shift+V; Ctrl+Shift+InsertPaste selected entry from the Clipboard to the caret location.
UpUpUpMove the caret one line up.
Up with SelectionShift+UpShift+UpMove the caret one line up selecting the text.
DownDownDownMove the caret one line down.
Down with SelectionShift+DownShift+DownMove the caret one line down selecting the text.
LeftLeftLeftMove the caret one character to the left.
Left with SelectionShift+LeftShift+LeftMove the caret one character to the left selecting the text.
RightRightRightMove the caret one character to the right.
Right with SelectionShift+RightShift+RightMove the caret one character to the right selecting the text.
Go to Page BottomCtrl+PageDownCtrl+PageDownMove the caret down to the page bottom.
Go to Page Bottom with SelectionCtrl+Shift+PageDownCtrl+Shift+PageDownMove the caret down to the page bottom, selecting the text.
Go to Page TopCtrl+PageUpCtrl+PageUpMove the caret up to the page top.
Go to Page Top with SelectionCtrl+Shift+PageUpCtrl+Shift+PageUpMove the caret up to the page bottom, selecting the text.
Page DownPageDownPageDownMove the caret one page down.
Page Down with SelectionShift+PageDownShift+PageDownMove the caret one page down, selecting the text.
Page UpPageUpPageUpMove the caret one page up.
Page Up with SelectionShift+PageUpShift+PageUpMove the caret one page up, selecting the text.
Scroll DownCtrl+DownCommand DownScroll the text one line down.
Scroll to CenterCtrl+MScroll a line at caret to the center of the screen.
Scroll UpCtrl+UpCommand UpScroll the text one line up.
Move to Line EndEndEnd; Command RightMove the caret to the end of line.
Move to Line End with SelectionShift+EndShift End; Command Shift RightMove the caret to the end of line, selecting the text.
Move to Line StartHomeHome; Command LeftMove the caret to the beginning of line.
Move to Line Start with SelectionShift+HomeShift Home; Command Shift LeftMove the caret to the beginning of line, selecting the text.
Move to Next WordCtrl+RightAlt RightMove the caret to the next word.
Move to Next Word with SelectionCtrl+Shift+RightAlt Shift RightMove the caret to the next word, selecting it.
Move to Previous WordCtrl+LeftAlt LeftMove the caret to the previous word.
Move to Previous Word with SelectionCtrl+Shift+LeftAlt Shift LeftMove the caret to the previous word, selecting it.
Move to Text EndCtrl+EndCtrl+EndMove the caret to the end of text.
Move to Text End with SelectionCtrl+Shift+EndCtrl+Shift+EndMove the caret to the end of text, selecting it.
Move to Text StartCtrl+HomeCtrl+HomeMove the caret to the beginning of text.
Move to Text Start with Selection.Ctrl+Shift+HomeCtrl+Shift+HomeMove the caret to the beginning of text, selecting it.
Select AllCtrl+ACtrl+ASelect the entire text opened in the editor.
Delete Line at CaretCtrl+YCtrl+YDelete the line where the caret is currently located.
Delete to Word EndCtrl+DeleteAlt DeleteDelete the word starting from the current caret location up to the word end.
Delete to Word StartCtrl+BackSpaceAlt BackSpaceDelete the word starting from the current caret location up to the word start.
Toggle Insert/OverwriteInsertInsertToggle insert/overwrite modes.
Duplicate Line or BlockCtrl+DCtrl+DDuplicate selected block or the line at the caret.
Toggle CaseCtrl+Shift+UCtrl+Shift+UToggle case of the selected text block.
Move to Code Block EndCtrl+CloseBracketCtrl+CloseBracketMove the caret to the current code block end, highlighting the block limits.
Move to Code Block End with SelectionCtrl+Shift+CloseBracketCtrl+Shift+CloseBracketMove the caret to the current code block end, selecting the code beginning from the initial caret location.
Move to Code Block StartCtrl+OpenBracketCtrl+OpenBracketMove the caret to the current code block start, highlighting the block limits.
Move to Code Block Start with SelectionCtrl+Shift+OpenBracketCtrl+Shift+OpenBracketMove the caret to the current code block start, selecting the code beginning from the initial caret location.
Start New LineShift+EnterShift EnterStart a new line after the current one positioning the caret in accordance with the current indentation level.
Join LinesCtrl+Shift+JCommand Shift JConcatenate the selected lines into one or concatenate the line where the caret is currently located with the next line.
Split LineCtrl+EnterCtrl+Enter Split the selected line at the point where the caret is located, leaving the caret at the end of the first line.
Select Word at CaretCtrl+WCtrl+WSelect successively increasing code blocks starting from the current caret location.
Unselect Word at CaretCtrl+Shift+WCtrl+Shift+WRemove sequentially the selection made by the action.
Indent SelectionTabTabMove the selected block to the next indentation level.
Unindent SelectionShift+TabShift+TabMove the selected block to the previous indentation level.
Auto-Indent LinesCtrl+Alt+ICtrl+Alt+IIndent the current line or selected block according to the Code Style settings.

See Also

Procedures:

Reference:

Getting Started:

Web Resources: