IntelliJ IDEA Keyboard Shortcuts¶
IntelliJ IDEA offers a wide array of keyboard shortcuts designed to speed up development workflows, from navigating code structures to refactoring and editing.
Navigation and Search¶
- Find Directory: To quickly locate a specific directory or file path, use
Ctrl + Shift + Nand append a/after the file name to switch the search context to directories^[600-developer__intellij.md]. - File Structure:
Ctrl + F12opens the structure view for the current file, listing all methods and fields^[600-developer__intellij.md]. - Project Switching: Users can toggle between recently opened projects using the shortcuts
Ctrl + Alt + ]andCtrl + Alt + [^[600-developer__intellij.md].
Code Editing and Refactoring¶
- Auto-Complete Statement:
Ctrl + Shift + Enterintelligently completes the current statement. It automatically adds a semicolon at the end of the line or adds necessary curly braces depending on the context^[600-developer__intellij.md]. - Introduce Variable:
Ctrl + Alt + Vextracts an expression into a variable, automatically handling the return type assignment^[600-developer__intellij.md]. - Hierarchy View:
Ctrl + Alt + Uopens the type hierarchy, visually displaying the inheritance tree for the selected class^[600-developer__intellij.md].
User Interface and View Control¶
- Font Scaling: Users can adjust the editor font size on the fly by holding
Ctrland using the mouse scroll wheel^[600-developer__intellij.md]. - Hide Navigation Bar: To increase screen real estate, the navigation bar can be hidden by accessing the "View" menu via
Alt + Vand deselecting the "Navigation bar" option^[600-developer__intellij.md].
Related Concepts¶
- [[IntelliJ IDEA]]
- [[Productivity]]
- [[IDEs]]
Sources¶
^[600-developer__intellij.md]