Skip to content

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.

  • Find Directory: To quickly locate a specific directory or file path, use Ctrl + Shift + N and append a / after the file name to switch the search context to directories^[600-developer__intellij.md].
  • File Structure: Ctrl + F12 opens 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 + ] and Ctrl + Alt + [^[600-developer__intellij.md].

Code Editing and Refactoring

  • Auto-Complete Statement: Ctrl + Shift + Enter intelligently 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 + V extracts an expression into a variable, automatically handling the return type assignment^[600-developer__intellij.md].
  • Hierarchy View: Ctrl + Alt + U opens 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 Ctrl and 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 + V and deselecting the "Navigation bar" option^[600-developer__intellij.md].
  • [[IntelliJ IDEA]]
  • [[Productivity]]
  • [[IDEs]]

Sources

^[600-developer__intellij.md]