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

6 comments on “Intellij IDEA – System.out.println shortcut

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

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

    Reply

Leave a Comment

Your email address will not be published. Required fields are marked *