Intellij IDEA – System.out.println shortcut

In IDEA, you can type sout and press Tab to generate System.out.println automatically.

Tips : To show all shortcuts, press CTRL + J

References

  1. Intellij IDEA – Code completion
  2. Intellij IDEA – default static void main shortcut

mkyong

Founder of Mkyong.com, passionate Java and open-source technologies. If you enjoy my tutorials, consider making a donation to these charities.

6 Comments
Most Voted
Newest Oldest
Inline Feedbacks
View all comments
Hermito
7 years ago

You can also write variable.sout . This will expand to System.out.println(variable);.

Obviously, variable has to exist in the current scope. 🙂

CODER
6 years ago
Reply to  Hermito

WOOOOOOW!

Keerthi
6 years ago
Reply to  Hermito

Thank you 🙂

vasily
3 years ago

thanks

Cipher
7 years ago

Thanks man

J Y
8 years ago

Wow, this is super userful XD.