Skip to main content

Command Palette

Search for a command to run...

IntelliJ Productivity Shortcuts That Will Change Your Workflow

Here are the most impactful IntelliJ shortcuts I use daily. These are the ones that changed how I code, organised by function and formatted as a handy

Published
3 min read
IntelliJ Productivity Shortcuts That Will Change Your Workflow
G

Hey, I’m Shrestha. Yeah, I know you can’t pronounce it, just call me Shrey 😉 I blog about my messy tech journey, rookie screw ups, and all the times my brain throws a merge conflict. Basically, everything I break (and sometimes fix) from “Shit, what did I do?” to “Damn, I’m a genius!”

Hey, I recently delved into keyboard shortcuts, and honestly? Total game-changer. If you're coding with IntelliJ and not using these shortcuts, you're missing out on serious time savings. I wanted to share the ones that genuinely made a difference in my daily workflow — the kind of stuff that makes you go, "How did I not know this before?!" These are now part of my muscle memory, and they helped me code faster, debug better, and stay in flow way longer.

Action
Double Shift🔍 Search Everywhere – search files, classes, settings
Ctrl + E (Cmd + E)📁 Recent Files – reopen files you've worked on
Ctrl + Shift + A⚡ Find Action – locate actions and discover shortcuts
Ctrl + N (Cmd + O)Go to Class
Ctrl + Shift + NGo to File
Ctrl + Alt + Shift + NGo to Symbol

💡 Code Assistance

ShortcutAction
Alt + Enter💡 Quick Fix / Intent Actions
Ctrl + SpaceCode Completion
Ctrl + Shift + SpaceSmart Completion
Ctrl + P🧠 Show Parameter Info
Ctrl + Q (F1 on Mac)📖 Quick Documentation

🛠 Code Editing & Refactoring

ShortcutAction
Ctrl + /💬 Comment Line
Ctrl + Shift + /💬 Comment Block
Ctrl + Alt + L🧹 Reformat Code
Ctrl + Alt + O🧼 Optimise Imports
Ctrl + DDuplicate Line
Ctrl + YDelete Line
Ctrl + Shift + ↑ / ↓📦 Move Statement Up/Down

▶️ Running & Debugging

ShortcutAction
Shift + F10▶️ Run
Shift + F9🐞 Debug
Ctrl + F8🎯 Toggle Breakpoint
Ctrl + Shift + F10Run Context Configuration
F8Step Over
F7Step Into
Shift + F8Step Out

🧾 IntelliJ Plugin Power-Ups

These plugins took my setup from good to great. If you're serious about flow and efficiency, check these out:

PluginDescription
Key Promoter XTeaches you shortcuts by showing hints when you use the mouse.
Rainbow BracketsColourful brackets for better nested code readability.
JUnit GeneratorInstantly generate test methods for Java classes.
.env Files SupportAdds syntax highlighting and autocompletion for .env files.
HTTP ClientTest APIs directly from IntelliJ (no Postman needed).
SonarLintInline bug and code quality detection using SonarQube rules.

If you're using IntelliJ and still clicking through menus, it's time to level up. These shortcuts, plugins, and habits didn’t just help me code faster — they made coding feel smooth, fun, and focused.