sebastiandaschner blog

IntelliJ Coding Shortcuts You Need to Know

#productivity #intellij monday, february 13, 2023

In 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+SpaceBasic code completion
Ctrl+Shift+Enter or ⇧ ⌘ ⏎  Complete current statement
Alt+EnterShow context actions (aka “quick fix”)
Ctrl+Alt+L or ⌥ ⌘ LReformat code (and optimize imports)
Alt+Insert or ⌘ NGenerate code
Ctrl+Alt+V or ⌃ ⌥ VExtract variable
Ctrl+Alt+F or ⌃ ⌥ FExtract field
Ctrl+Alt+C or ⌃ ⌥ CExtract constant
Ctrl+Alt+P or ⌃ ⌥ PExtract parameter
Ctrl+Alt+M or ⌃ ⌥ MExtract method
Ctrl+Alt+N or ⌃ ⌥ NInline
F2 or ⌘ NNext highlighted error


More Resources


Found the video useful? Then you might enjoy my Developer Productivity Masterclass.