Main Tutorials

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

About Author

author image
Founder of Mkyong.com, love Java and open source stuff. Follow him on Twitter. If you like my tutorials, consider make a donation to these charities.

Comments

Subscribe
Notify of
6 Comments
Most Voted
Newest Oldest
Inline Feedbacks
View all comments
Hermito
5 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
4 years ago
Reply to  Hermito

WOOOOOOW!

Keerthi
4 years ago
Reply to  Hermito

Thank you 🙂

vasily
1 year ago

thanks

Cipher
5 years ago

Thanks man

J Y
5 years ago

Wow, this is super userful XD.