Return to site

INTELLIJ SHORTCUT: Shift+Ctrl+Enter "Complete Current Statement"

· coding
broken image

It is one of the most useful shortcuts while coding.
It completes current statement while you’re coding

―Most of the time it will simply add a semi-colon to the end of the code.

―When writing a “for” loop, it will add the curly braces and place your cursor inside the block.

―In an “if” statement, it can add the parentheses and curly braces and again place your cursor in the correct spot.

―In any cases, it puts the cursor where you next need it.