IntelliJ IDEA Keyboard Shortcuts 2025: Complete Productivity Guide
IntelliJ IDEA keyboard shortcuts are essential for Java developers, Kotlin programmers, and anyone using JetBrains IDEs. Mastering IntelliJ shortcuts can boost your coding productivity by 50% or more. This comprehensive guide covers IntelliJ IDEA shortcuts for Windows, Mac, and Linux, including navigation, refactoring, debugging, and code generation shortcuts that professional developers use daily.
Why Learn IntelliJ IDEA Keyboard Shortcuts?
IntelliJ IDEA is widely regarded as the most intelligent Java IDE, with powerful features for code completion, refactoring, and analysis. However, accessing these features quickly requires keyboard shortcuts. Professional developers who master IntelliJ shortcuts navigate codebases faster, refactor code more confidently, and debug issues more efficiently than those relying on mouse navigation.
The most impactful IntelliJ shortcuts include Search Everywhere (Double Shift), Go to Declaration (Ctrl+B or Cmd+B), Find Usages (Alt+F7 or Cmd+F7), and Refactor This (Ctrl+Alt+Shift+T or Cmd+T). These four shortcuts alone transform your IntelliJ experience, providing instant access to code navigation and intelligent refactoring options.
Essential IntelliJ IDEA Navigation Shortcuts
Navigation is the foundation of efficient coding in IntelliJ IDEA. Double Shift opens Search Everywhere, the universal search dialog for finding files, classes, symbols, actions, and settings. Ctrl+N (Cmd+O on Mac) opens Go to Class, Ctrl+Shift+N (Cmd+Shift+O) opens Go to File, and Ctrl+Alt+Shift+N (Cmd+Alt+O) opens Go to Symbol for finding methods and fields across the entire project.
Code navigation shortcuts include Ctrl+B (Cmd+B) for Go to Declaration, Ctrl+Alt+B (Cmd+Alt+B) for Go to Implementation, and Ctrl+Shift+B (Cmd+Shift+B) for Go to Type Declaration. Alt+F7 (Cmd+F7) finds usages of the current symbol, while Ctrl+F12 (Cmd+F12) shows the file structure popup for quick method navigation within the current file.
IntelliJ Code Editing and Completion Shortcuts
IntelliJ's intelligent code completion shortcuts dramatically speed up coding. Ctrl+Space triggers basic completion, while Ctrl+Shift+Space activates smart type-matching completion that filters suggestions based on expected types. Ctrl+Shift+Enter completes the current statement, automatically adding semicolons, braces, and parentheses.
Live templates (code snippets) are activated by typing abbreviations and pressing Tab. Common templates include psvm (public static void main), sout (System.out.println), and fori (for loop). Ctrl+J (Cmd+J) shows available live templates for the current context. Alt+Enter (Option+Enter) opens the intention actions and quick fixes menu, offering context-aware code improvements and error fixes.
Refactoring Shortcuts in IntelliJ IDEA
IntelliJ IDEA is famous for powerful refactoring capabilities, all accessible via keyboard shortcuts. Ctrl+Alt+Shift+T (Ctrl+T on Mac) opens the Refactor This dialog, showing all applicable refactorings for the current context. Shift+F6 renames variables, methods, classes, and files safely across the entire project with automatic reference updates.
Advanced refactoring shortcuts include Ctrl+Alt+M (Cmd+Alt+M) to extract methods, Ctrl+Alt+V (Cmd+Alt+V) to extract variables, Ctrl+Alt+C (Cmd+Alt+C) to extract constants, and Ctrl+Alt+F (Cmd+Alt+F) to extract fields. Ctrl+Alt+P (Cmd+Alt+P) extracts parameters, while Ctrl+F6 (Cmd+F6) changes method signatures. These refactorings maintain code correctness by updating all references automatically.
Debugging Shortcuts for IntelliJ IDEA
Efficient debugging relies heavily on keyboard shortcuts. F9 resumes program execution, F8 steps over to the next line, F7 steps into methods, and Shift+F8 steps out of the current method. Ctrl+F8 (Cmd+F8) toggles breakpoints on the current line, while Ctrl+Shift+F8 (Cmd+Shift+F8) opens the breakpoints dialog for managing all breakpoints.
Advanced debugging shortcuts include Alt+F9 (Option+F9) to run to cursor, Alt+F8 (Option+F8) to evaluate expressions during debugging, and Ctrl+Shift+F8 (Cmd+Shift+F8) to view and manage breakpoints. F2 navigates to the next highlighted error, while Shift+F2 navigates to the previous error, allowing quick error fixing without leaving the keyboard.
IntelliJ Window and Tool Window Management
Managing IntelliJ's interface efficiently requires tool window shortcuts. Alt+1 (Cmd+1) toggles the Project tool window, Alt+7 (Cmd+7) opens Structure, Alt+9 (Cmd+9) shows Version Control, and Alt+F12 (Option+F12) opens the Terminal. Shift+Esc hides the active tool window, while Ctrl+Shift+F12 (Cmd+Shift+F12) toggles maximum editor space by hiding all tool windows.
Editor management shortcuts include Ctrl+Tab (Ctrl+Tab) to switch between files and tool windows via the switcher popup, Ctrl+E (Cmd+E) for recent files, and Ctrl+Shift+E (Cmd+Shift+E) for recent locations. Alt+← and Alt+→ (Cmd+[, Cmd+]) navigate backward and forward through edit locations, essential for jumping between recently edited code sections.
Running and Testing Shortcuts
IntelliJ provides powerful shortcuts for running and testing code. Shift+F10 (Ctrl+R) runs the current configuration, while Shift+F9 (Ctrl+D) debugs it. Ctrl+Shift+F10 (Ctrl+Shift+R) runs the context configuration (automatically determining what to run based on cursor position). Alt+Shift+F10 (Ctrl+Alt+R) shows the Run popup for selecting configurations.