sebastiandaschner blog
IntelliJ Coding Shortcuts You Need to Know
monday, february 13, 2023In this video, I’m showing the most important IntelliJ coding shortcuts that you need to know to boost your productivity. Just with a handful of shortcuts, we can reach the point where we don’t have to touch the mouse anymore in our usual workflow, and thus increase the focus and reduce friction.
Coding Shortcuts
Ctrl+Space | Basic code completion |
Ctrl+Shift+Enter or ⇧ ⌘ ⏎ | Complete current statement |
Alt+Enter | Show context actions (aka “quick fix”) |
Ctrl+Alt+L or ⌥ ⌘ L | Reformat code (and optimize imports) |
Alt+Insert or ⌘ N | Generate code |
Ctrl+Alt+V or ⌃ ⌥ V | Extract variable |
Ctrl+Alt+F or ⌃ ⌥ F | Extract field |
Ctrl+Alt+C or ⌃ ⌥ C | Extract constant |
Ctrl+Alt+P or ⌃ ⌥ P | Extract parameter |
Ctrl+Alt+M or ⌃ ⌥ M | Extract method |
Ctrl+Alt+N or ⌃ ⌥ N | Inline |
F2 or ⌘ N | Next highlighted error |
More Resources
- Developer Productivity Masterclass
- IntelliJ Navigation Shortcuts You Need to Know
- Executing IntelliJ actions with IdeaVim
- IntelliJ Live Templates You Need to Know
- My favorite IdeaVim features (Video)
- My Dotfiles on GitHub
Found the video useful? Then you might enjoy my Developer Productivity Masterclass.