30 Essential IntelliJ IDEA Keyboard Shortcuts to Boost Your Coding Efficiency
Discover a curated list of 30 IntelliJ IDEA keyboard shortcuts that let you navigate, edit, refactor, and run code faster, helping you stay focused, reduce mouse usage, and dramatically improve your development productivity.
These IntelliJ IDEA keyboard shortcuts let you stay focused on coding and make your hands dance on the keyboard.
1. Search file name: Shift Shift 2. Show intention actions and quick‑fix: ⌘ Cmd + ⤶ Enter 3. Generate code quickly: Control + ⤶ Enter 4. View method parameters: ⌘ Cmd + P 5. Pop up the list of open files: ⌘ Cmd + E 6. Open tool windows (0‑9): ⌘ Cmd + Num 0‑9 7. Save file: ⌘ Cmd + S 8. Open project settings dialog: ⌘ Cmd + ; 9. Open IDE settings dialog: ⌘ Cmd + , 10. Find in current file: ⌘ Cmd + F 11. Go to line/column: ⌘ Cmd + G 12. Replace: ⌘ Cmd + R 13. Find in path: Control + ↑ Shift + F 14. Replace in path: Control + ↑ Shift + R 15. Surround with comment template: ⌘ Cmd + ⌥ Option + T 16. Comment / uncomment code: ⌘ Cmd + / 17. Reformat code: ⌘ Cmd + ⌥ Option + L 18. Optimize imports: ⌘ Cmd + ⌥ Option + O 19. Indent selected lines: Tab 20. Unindent selected lines: ↑ Shift + Tab 21. Cut current line to clipboard: ⌘ Cmd + X 22. Copy current line to clipboard: ⌘ Cmd + C 23. Paste from clipboard: ⌘ Cmd + V 24. Duplicate current line: ⌘ Cmd + D 25. Start a new line: ↑ Shift + ⤶ Enter 26. Toggle case of selected word/code: ⌘ Cmd + ↑ Shift + U 27. Navigate back/forward to recent edit locations: ⌘ Cmd + ⌥ Option + ← or → 28. Go to declaration: ⌘ Cmd + B or ⌘ Cmd + mouse left‑click 29. Go to type declaration: Control + ↑ Shift + B 30. Insert comment template:
⌘ Cmd + JSigned-in readers can open the original source through BestHub's protected redirect.
This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactand we will review it promptly.
Java Backend Technology
Focus on Java-related technologies: SSM, Spring ecosystem, microservices, MySQL, MyCat, clustering, distributed systems, middleware, Linux, networking, multithreading. Occasionally cover DevOps tools like Jenkins, Nexus, Docker, and ELK. Also share technical insights from time to time, committed to Java full-stack development!
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.
