IntelliJ IDEA is the leading IDE for Java and Kotlin development. The program supports shortcut keys for most commands, areas for editing, navigation, refactoring, code debugging and other tasks.
Using keyboard keys allows you to be more productive without taking your hands off the buttons.
List of the most useful keyboard shortcuts
Double Shift — Search Everywhere. Quickly find any file, action, symbol, tool window, or setting in IntelliJ IDEA, in your project, and in the current Git repository.
CtrlShiftA — Find Action. Find a command and execute it, open a tool window, or search for a setting.
AltEnter — Show Context Actions. Quick-fixes for highlighted errors and warnings, intention actions for improving and optimizing your code.
F2 — Navigate between code issues.
ShiftF2 — Jump to the next or previous highlighted error.
CtrlE — View recent files. Select a recently opened file from the list.
CtrlShiftEnter — Complete Current Statement. Insert any necessary trailing symbols and place the caret where you can start typing the next statement.
CtrlAltL — Reformat Code. Reformat the whole file or the selected fragment according to the current code style settings.
CtrlAltShiftT — Invoke refactoring. Refactor the element under the caret, for example, safe delete, copy, move, rename, and so on.
CtrlW — Extend or shrink selection
CtrlShiftW — Increase or decrease the scope of selection according to specific code constructs.
Ctrl/ — Add/remove line or block comment.
CtrlShift/ — Comment out a line or block of code.
CtrlB — Go To Declaration. Navigate to the initial declaration of the instantiated class, called method, or field.
AltF7 — Find Usages. Show all places where a code element is used across your project.
Alt1 — Focus the Project tool window.
Esc — Focus the editor.
All keyboard shortcuts in IntelliJ IDEA are customizable, so you can customize the keys of any command, even those that don’t have a default key.
A list of default keyboard shortcuts is available in the sections Predefined macOS keymap and Predefined Windows keymap.
thank you, the keyboard shortcuts help me a lot