IntelliJ IDEA 13.0.0 Web Help

This section lists and describes the keyboard shortcuts that include the Ctrl key:

Ctrl+alphanumeric keys

Shortcut Function Use this shortcut to...
Ctrl+ACtrl+ACtrl+ACtrl+ACommand ACommand A Select All Select the entire text in the active editor.
, Ctrl+Button1 Click or Button2 ClickCtrl+B, Ctrl+Button1 Click or Button2 ClickCtrl+B, Ctrl+Button1 Click or Ctrl+B, Ctrl+Button1 Click or Ctrl+Alt+G, , or Ctrl+B, Ctrl+Button1 Click or Button2 Click, , , or Ctrl+B, Ctrl+Button1 Click or Button2 Click or Command B, Command Button1 Click or Command B, Command Button1 Click or Button2 Click or Control Button1 Click Navigate to Declaration Navigate directly to an element's declaration from any usage.
or Ctrl+InsertCtrl+C or Ctrl+InsertCtrl+C or Ctrl+InsertCtrl+C or Ctrl+InsertCtrl+Insert, or Ctrl+C or Ctrl+Insert or Ctrl+C or Ctrl+Insert or Command C or Command InsertCommand C or Command InsertCommand C or Command Insert Copy Copy selected text to the Clipboard.
Ctrl+DCtrl+DCtrl+DCtrl+D, Ctrl+Shift+Down or Ctrl+Shift+UpCommand DCommand D Duplicate Line or Block Duplicate selected block or line at caret.
Ctrl+ECtrl+ECtrl+EShift+F4Command ECommand E Recent Files
Recent find usages
Show the list of recently opened files.

When the Find tool window has the focus, use this shortcut to show the list of recent find usages results.

or Alt+F3 or Ctrl+F or Shift+Alt+3Ctrl+F or Alt+F3, or or Ctrl+F or Alt+F3 or Ctrl+F or Alt+F3Command F or Alt F3 Find Initiate text search in the editor.
Ctrl+GCtrl+GCtrl+GCtrl+GCommand LCommand L Navigate to Line Navigate the to a line with the specified number in the current file.
Ctrl+HCtrl+HCtrl+HShift+Alt+F12Control HF4 Type Hierarchy Browse hierarchy for the selected class.
Ctrl+ICtrl+ICtrl+ICtrl+IControl IControl I Implement Methods Implement methods of the base interface/class in the current class.
Ctrl+JCtrl+JCtrl+JCtrl+JCommand JCommand J Insert Live Template Show a pop-up list of Live Templates starting with a specified prefix.
Ctrl+MCtrl+MCtrl+MCtrl+MEditorScrollToCenterEditorScrollToCenter Scroll to Center Scroll a line at caret to the center of the screen.
Ctrl+NCtrl+NCtrl+N or Ctrl+MinusCtrl+OCommand OShift Command T Navigate to Class Jump to a class in the project with the specified name.
Ctrl+OCtrl+OCtrl+MCtrl+OControl OControl O Override Methods Override base class methods in the current class.
Ctrl+PCtrl+PCtrl+PCtrl+PCommand PCommand P Parameter Info Show parameters of the method call at the caret.
or Alt+Button2 ClickCtrl+Q or Alt+Button2 Click or Alt+Button2 Click or Alt+Button2 ClickCtrl+Q or Ctrl+Q or Alt+Button2 ClickCtrl+Q or Alt+Button2 Click, Ctrl+Shift+Space or F2, or Control Button2 ClickControl J or Control Button2 Click or
Quick documentation Show a pop-up window with documentation for the symbol at the caret.
or Alt+Button2 ClickCtrl+Q or Alt+Button2 Click or Alt+Button2 Click or Alt+Button2 ClickCtrl+Q or Ctrl+Q or Alt+Button2 ClickCtrl+Q or Alt+Button2 Click, Ctrl+Shift+Space or F2, or Control Button2 ClickControl J or Control Button2 Click or Show Table Data In the Database tool window: show a pop-up window that displays the create table query for the database table at the caret and the first 10 rows of the table.
Ctrl+RCtrl+RCtrl+RCtrl+HCommand RCommand R Replace Call the Replace Text dialog box.
Ctrl+SCtrl+SCtrl+S or Ctrl+Shift+ACtrl+S or Ctrl+Shift+SCommand SCommand S Save All Save all files and settings.
Ctrl+UCtrl+UCtrl+UCtrl+Shift+PCommand UCommand U Navigate to Super Method Navigate to a super method declaration of a method at caret

In the Commander tool window: swap panes.

or Shift+InsertCtrl+V or Shift+InsertCtrl+V or Shift+InsertCtrl+V or Shift+Insert, or or Ctrl+V or Shift+InsertCtrl+V or Shift+Insert or Command V or Shift InsertCommand V or Shift InsertCommand V or Shift Insert Paste Paste from the Clipboard.
Ctrl+WCtrl+WCtrl+WShift+Alt+PeriodShift+Alt+UpCommand WControl Shift Up Select Word at Caret Successively select expanding blocks of text, starting from the word at caret. (Use this shortcut repeatedly to select expressions.)
or Shift+DeleteCtrl+X or Shift+DeleteCtrl+X or Shift+DeleteCtrl+X or Shift+DeleteShift+Delete or Alt+X or Ctrl+X or Shift+DeleteCtrl+X or Shift+Delete or Command X or Shift DeleteCommand X or Shift DeleteCommand X or Shift Delete Cut Cut to the Clipboard.
Ctrl+YCtrl+YCtrl+YCtrl+ECommand BackspaceCommand Y Delete Line at Caret Delete a word starting from the current caret location up to the end of word.
or Alt+BackspaceCtrl+Z or Alt+BackspaceCtrl+Z or Alt+BackspaceCtrl+Z or Alt+BackspaceCtrl+Shift+Minus or Ctrl+Slash or Ctrl+Z or Ctrl+ZCommand Z Undo Undo last operation.
or Shift+Alt+Backspace or Shift+Alt+Backspace or Shift+Alt+Backspace or Ctrl+Shift+Z or Shift+Alt+Minus or Ctrl+Y or Ctrl+Shift+ZCtrl+Shift+Z, Shift+Alt+Backspace or Ctrl+YShift Command Z or Shift Alt Backspace or Shift Command Z Redo Redo last undone operation.
Navigate to bookmark Navigate to a numbered bookmark with corresponding number.

Ctrl+navigation keys

Shortcut Function Use this shortcut to...
or Ctrl+Shift+TabCtrl+Tab or Ctrl+Shift+Tab or Ctrl+Shift+TabCtrl+Tab or Ctrl+Shift+TabCtrl+X, B or Ctrl+Tab or Ctrl+Shift+TabCtrl+Tab or Ctrl+Shift+TabCtrl+Tab or Ctrl+Shift+TabControl Tab or Control Shift TabControl Tab or Control Tab or Control Shift Tab Switcher Navigate between the files opened in the editor, and tool windows.
Ctrl+BackspaceCtrl+Backspace, Alt+Backspace or Escape, BackspaceCtrl+BackspaceCtrl+BackspaceCtrl+BackspaceCtrl+BackspaceAlt BackspaceAlt Backspace Delete to Word Start Delete a word starting from the current caret location up to the word start.
Ctrl+DeleteCtrl+DeleteCtrl+DeleteCtrl+DeleteCtrl+DeleteCtrl+DeleteAlt DeleteAlt DeleteCommand Delete Delete to Word End Delete a word starting from the current caret location up to the word end.
Ctrl+EndCtrl+EndCtrl+End or Ctrl+EndCtrl+EndCommand EndCommand EndCommand End Move to Text End Move the caret to the end of text.
Ctrl+EnterCtrl+EnterCtrl+EnterCtrl+EnterCtrl+EnterCtrl+EnterCtrl+EnterCommand EnterCommand EnterCommand Enter Split Line or Open Item Depending on the context:
Ctrl+HomeCtrl+HomeCtrl+HomeCtrl+Home, Shift+Alt+Comma or Escape, CommaCtrl+HomeCtrl+HomeCommand HomeCommand HomeCommand Home Move to Text Start Jump to the beginning of the text.
or Ctrl+InsertCtrl+C or Ctrl+InsertCtrl+C or Ctrl+InsertCtrl+C or Ctrl+InsertCtrl+Insert, Alt+C or Ctrl+C or Ctrl+InsertCtrl+C or Ctrl+InsertCtrl+C or Ctrl+C or Ctrl+InsertCommand C or Command InsertCommand C or Command InsertCommand C or Command Insert Copy Copy a current line or a selected code block to the Clipboard.
Ctrl+SpaceCtrl+SpaceCtrl+SpaceAlt+SlashCtrl+SpaceCtrl+Space or Ctrl+Back SlashCtrl+SpaceControl SpaceControl SpaceControl Space Basic Code Completion Complete code for any class, method or variable.
Ctrl+Page DownCtrl+Page DownCtrl+Page DownCtrl+Page DownCtrl+Page DownCommand Page DownCommand Page Down Navigate to Page Bottom Move the caret down to the page bottom.
Ctrl+Page UpCtrl+Page UpCtrl+Page UpCtrl+Page UpCtrl+Page UpCommand Page UpCommand Page UpCommand Page Up Navigate to Page Top Move the caret up to the page top.
Ctrl+DownCtrl+DownCtrl+DownCtrl+DownCtrl+DownCtrl+DownEditorScrollDownCommand DownEditorScrollDown Scroll Down Move line at caret one down, preserving syntactical correctness.
Ctrl+LeftCtrl+LeftCtrl+LeftCtrl+Left, Alt+B or Ctrl+LeftCtrl+LeftCtrl+LeftAlt LeftAlt Left Move to Previous Word Move the caret to the previous word.
Ctrl+RightCtrl+RightCtrl+RightCtrl+Right, Alt+F or Ctrl+RightCtrl+RightCtrl+RightCtrl+RightAlt RightAlt RightAlt Right Move to Next Word Move the caret to the next word.
Ctrl+UpCtrl+UpCtrl+UpCtrl+UpCtrl+UpEditorScrollUpCommand UpEditorScrollUp
Ctrl+Shift+UpCtrl+Shift+UpCtrl+Shift+UpCtrl+Shift+UpCtrl+Shift+UpShift+Alt+UpAlt+UpShift Command UpAlt Up
Scroll Up: Move line at caret one up, preserving syntactical correctness.

Ctrl+symbol keys

Shortcut Function Use this shortcut to...
Ctrl+Open BracketCtrl+Open Bracket, Ctrl+Alt+Open Bracket or Ctrl+Alt+FCtrl+Open BracketCtrl+Open BracketAlt Command Open BracketAlt Command Open Bracket Move to Code Block Start Move the caret to the beginning of the current code block, highlighting its limits.
Ctrl+Close BracketCtrl+Close Bracket, Ctrl+Alt+Close Bracket or Ctrl+Alt+BCtrl+Close Bracket or Ctrl+Close Bracket or Alt Command Close BracketControl Close Bracket or Control Shift P Move to Code Block End Move the caret to the end of the current code block, highlighting its limits.
or Ctrl+NumPad /Ctrl+Slash or Ctrl+Slash or Ctrl+NumPad / or Ctrl+NumPad /Alt+Semicolon or Ctrl+Slash, Ctrl+NumPad / or Ctrl+ColonCtrl+Slash, Ctrl+NumPad / or Ctrl+Shift+CCtrl+Slash or Ctrl+NumPad /Command Slash or Command NumPad / or Command Slash or Command NumPad /
Comment with Line Comment Comment/uncomment current line or selected block with line comments.

or Ctrl+EqualsCtrl+NumPad+ or Ctrl+Equals or Ctrl+NumPad+ or Ctrl+EqualsCtrl+NumPad+ or Ctrl+Equals or Ctrl+NumPad+ or Ctrl+EqualsCtrl+NumPad+ or Ctrl+Equals or Command NumPad or Command NumPad or Command Equals or Command Equals
Expand All Expand all folding blocks.
or Ctrl+MinusCtrl+NumPad - or Ctrl+Minus or Ctrl+NumPad - or Ctrl+NumPad - or Ctrl+MinusCtrl+NumPad - or Ctrl+MinusCtrl+NumPad - or Ctrl+Minus or Command NumPad - or Command NumPad - or Command Minus or Command Minus Collapse All Collapse all folding blocks.

Ctrl+numpad keys

Shortcut Function Use this shortcut to...

or Ctrl+NumPad /Ctrl+Slash or Ctrl+Slash or Ctrl+NumPad / or Ctrl+NumPad /Alt+Semicolon or Ctrl+Slash, Ctrl+NumPad / or Ctrl+ColonCtrl+Slash, Ctrl+NumPad / or Ctrl+Shift+CCtrl+Slash or Ctrl+NumPad /Command Slash or Command NumPad / or Command Slash or Command NumPad /
Comment with Line Comment Comment/uncomment current line or selected block with line comments.
or Ctrl+EqualsCtrl+NumPad+ or Ctrl+Equals or Ctrl+NumPad+ or Ctrl+EqualsCtrl+NumPad+ or Ctrl+Equals or Ctrl+NumPad+ or Ctrl+EqualsCtrl+NumPad+ or Ctrl+Equals or Command NumPad or Command NumPad or Command Equals or Command Equals
Expand All Expand all folding blocks.
or Ctrl+MinusCtrl+NumPad - or Ctrl+Minus or Ctrl+NumPad - or Ctrl+NumPad - or Ctrl+MinusCtrl+NumPad - or Ctrl+MinusCtrl+NumPad - or Ctrl+Minus or Command NumPad - or Command NumPad - or Command Minus or Command Minus Collapse All Collapse all folding blocks.

Ctrl+Function (F) keys

Shortcut Function Use this shortcut to...
Ctrl+F1Ctrl+1Ctrl+F1Ctrl+F1 or Ctrl+F1Command F1Command F1 Error Description Show an error or warning description at the caret.
Ctrl+F3Ctrl+3Ctrl+F3Ctrl+F3Ctrl+F3FindWordAtCaretCommand F3 Find Word at Caret Search in the editor for the word where the caret is currently located.
Ctrl+F6Ctrl+6Ctrl+F6Ctrl+F6Ctrl+F6Command F6Alt Command C Change Method Signature Refactor a selected method signature and update all references.
Ctrl+F7Ctrl+7Ctrl+F7Ctrl+F7Ctrl+Shift+F7 or Shift+F12Ctrl+F7Ctrl+Shift+GCommand F7Shift Command U Find Usages in File Initiate search for usages.
Ctrl+F8Ctrl+8Ctrl+F8Ctrl+F8Ctrl+F8Ctrl+Shift+B or Ctrl+F8Command F8Shift Command B Toggle Breakpoint Toggle breakpoint at caret.
Ctrl+F9Ctrl+9Ctrl+F9Ctrl+F9F11 or Command F9Command B Make Project Compile all modified and dependent files in a project.
Ctrl+F11Ctrl+F11Ctrl+F11Ctrl+F11Ctrl+F11Alt F3Command F11Alt F3 Toggle Bookmark with mnemonic. Turn bookmark with mnemonic on or off.
Ctrl+F12Ctrl+0Ctrl+F12Ctrl+F12Ctrl+F12 or Ctrl+Shift+F12Ctrl+F3 or Ctrl+OCommand F12Command F12Command O File Structure Pop-up Show the current file structure in the File Structure pop-up window for quick navigation.

See Also

Procedures:

Reference:

Getting Started:

Web Resources: