as of IntelliJ 14.0.3
🚧 under review for 2022.1.3
🤌 replace Ctl with ⌘ (Cmd) for MacOS
Ctl + Plus/Minus-- expand/collapse code foldingCtl + Backspace-- delete current lineCtl + W-- smart select. Continue to type W to expand the selection.⌥ + Up/Downfor MacOs⌘ + 1-- go to Project ViewCtl + Alt + Left/Right-- go back or forward to last point (useful if traversing a call stack)Ctl + P-- show method parametersCtl + B-- go to declaration (for any element in a class)Ctl + Alt + H-- show call hierarchyCtl + N-- go to a class file in the project ⭐Ctl + Shift + N-- go to any file in the project ⭐Ctl + E-- show recent filesCtl + Shift + K-- git pushCtl + Ctl-- run anything
Thanks to Trisha Gee for these shortcuts below
Ctl + Shift + A-- navigate directly to an action/option (e.g., collapse/expand)Ctl + Shift + Enter-- statement completionCtl + Shift + S-- opensettingsmenuCtl + Shift + Alt + S-- openproject structuremenu!-- negating completionCtl + F12-- navigate w/i a class
Refactoring
Ctl + Alt + M-- extract selected code into a new methodCtl + O-- generate override method(s)
Selection Menu
Option + F1and then1forProject view
- To open a Gradle project for the first time:
"Open"-> Navigate tobuild.gradlefile - turn off IntelliJ tabs
Ctl + Shift + [0-9]-- set a numbered bookmarkCtl + [0-9]-- jump to numbered bookmark
- Debug Maven test in IntelliJ
- Cleaning System Cache -- to manually delete system cache, go to
%userprofile%\.IntelliJ##\system - Add this to breakpoint to only stop every 10th item
- Run Inspections Offline 👍
myList.size() % 10 == 0Ctl + F8-- toggle breakpointShift + F9-- Run Debug