This document lists many keyboard shortcuts for common editing, navigation, debugging, refactoring, and version control operations in the IntelliJ IDEA IDE. Some key shortcuts include Ctrl+Space for basic code completion, Ctrl+N for going to a class, Alt+Enter for showing intention actions and quick fixes, and F7/F8 for stepping through code during debugging. Refactoring shortcuts include F5 to copy, F6 to move, and Shift+F6 to rename code elements.
This document lists many keyboard shortcuts for common editing, navigation, debugging, refactoring, and version control operations in the IntelliJ IDEA IDE. Some key shortcuts include Ctrl+Space for basic code completion, Ctrl+N for going to a class, Alt+Enter for showing intention actions and quick fixes, and F7/F8 for stepping through code during debugging. Refactoring shortcuts include F5 to copy, F6 to move, and Shift+F6 to rename code elements.
Basic code completion Ctrl + Space Go to class Ctrl + N
Smart code completion Ctrl + Shift + Space Go to file Ctrl + Shift + N DEFAULT KEYMAP Complete statement Ctrl + Shift + Enter Parameter info (within method call arguments) Ctrl + P Go to symbol Go to next / previous editor tab Ctrl + Alt + Shift + N Alt + Right/Left Quick documentation lookup Ctrl + Q Go back to previous tool window F12 External Doc Shift + F1 Brief Info Ctrl + mouse Go to editor (from tool window) Esc Remember these Shortcuts Show descriptions of error at caret Ctrl + F1 Hide active or last active window Shift + Esc Generate code... Alt + Insert Go to line Ctrl + G Smart code completion Ctrl + Shift + Space Override methods Ctrl + O Recent files popup Ctrl + E Search everywhere Double Shift Implement methods Ctrl + I Navigate back / forward Ctrl + Alt + Left/Right Show intention actions and quick-fixes Alt + Enter Surround with… Ctrl + Alt + T Navigate to last edit location Ctrl + Shift + Backspace Generate code Alt + Ins Comment / uncomment with line comment Ctrl + / Select current file or symbol in any view Alt + F1 Parameter info Ctrl + P Comment / uncomment with block comment Ctrl + Shift + / Go to declaration Ctrl + B , Ctrl + Click Extend selection Ctrl + W Extend selection Ctrl + W Go to implementation(s) Ctrl + Alt + B Shrink selection Ctrl + Shift + W Shrink selection Ctrl + Shift + W Open quick definition lookup Ctrl + Shift + I Recent files popup Ctrl + E Context info Alt + Q Go to type declaration Ctrl + Shift + B Rename Shift + F6 Show intention actions and quick-fixes Alt + Enter Go to super-method / super-class Ctrl + U Reformat code Ctrl + Alt + L Go to previous / next method Alt + Up/Down Optimize imports Ctrl + Alt + O Move to code block end / start Ctrl + ]/[ General Auto-indent line(s) Ctrl + Alt + I File structure popup Ctrl + F12 Open corresponding tool window Alt + #[0-9] Indent / unindent selected lines Tab / Shift + Tab Type hierarchy Ctrl + H Save all Ctrl + S Cut current line to clipboard Ctrl + X , Shift + Delete Method hierarchy Ctrl + Shift + H Synchronize Ctrl + Alt + Y Copy current line to clipboard Ctrl + C , Ctrl + Insert Call hierarchy Ctrl + Alt + H Toggle maximizing editor Ctrl + Shift + F12 Paste from clipboard Ctrl + V , Shift + Insert Next / previous highlighted error F2 / Shift + F2 Inspect current file with current profile Alt + Shift + I Paste from recent buffers... Ctrl + Shift + V Edit source / View source F4 / Ctrl + Enter Quick switch current scheme Ctrl + BackQuote (`) Duplicate current line Ctrl + D Show navigation bar Alt + Home Open Settings dialog Ctrl + Alt + S Delete line at caret Ctrl + Y Toggle bookmark F11 Open Project Structure dialog Ctrl + Alt + Shift + S Smart line join Ctrl + Shift + J Toggle bookmark with mnemonic Ctrl + F11 Find Action Ctrl + Shift + A Smart line split Ctrl + Enter Go to numbered bookmark Ctrl + #[0-9] Start new line Shift + Enter Show bookmarks Shift + F11 Debugging Toggle case for word at caret or selected block Ctrl + Shift + U Step over / into F8 / F7 Select till code block end / start Ctrl + Shift + ] / [ Compile and Run Smart step into / Step out Shift + F7 / Shift + Delete to word end Ctrl + Delete Make project Ctrl + F9 F8 Delete to word start Ctrl + Backspace Compile selected file, package or module Ctrl + Shift + F9 Run to cursor Alt + F9 Expand / collapse code block Ctrl + NumPad+ / - Select configuration and run / debug Alt + Shift + F10/F9 Evaluate expression Alt + F8 Expand all Ctrl + Shift + NumPad+ Run / Debug Shift + F10 / F9 Resume program F9 Collapse all Ctrl + Shift + NumPad- Run context configuration from editor Ctrl + Shift + F10 Toggle breakpoint Ctrl + F8 Close active editor tab Ctrl + F4 View breakpoints Ctrl + Shift + F8 Usage Search Refactoring Find usages / Find usages in file Alt + F7 / Ctrl + F7 Search / Replace Copy F5 Highlight usages in file Ctrl + Shift + F7 Search everywhere Double Shift Move F6 Show usages Ctrl + Alt + F7 Find Ctrl + F Safe Delete Alt + Delete Find next / previous F3 / Shift + F3 Rename Shift + F6 VCS / Local History Replace Ctrl + R Refactor this Ctrl + Alt + Shift + T Commit project to VCS Ctrl + K Find in path Ctrl + Shift + F Change Signature Ctrl + F6 Update project from VCS Ctrl + T Replace in path Ctrl + Shift + R Inline Ctrl + Alt + N Push commits Ctrl + Shift + K Select next occurrence Alt + J Extract Method Ctrl + Alt + M ‘VCS’ quick popup Alt + BackQuote (`) Select all occurrences Ctrl + Alt + Shift + J Extract Variable Ctrl + Alt + V Unselect occurrence Alt + Shift + J Extract Field Ctrl + Alt + F Live Templates Extract Constant Ctrl + Alt + C Surround with Live Template Ctrl + Alt + J —Productivity Boosters Extract Parameter Ctrl + Alt + P Insert Live Template Ctrl + J