Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

6
  • 2
    type sysout and hit ctrl + space and it will become System.out.println();. This will only work in places were it's legal to write System.out.println();, so it won't work directly in the class body, you have to be in a method, constructor or (static) initializer block.
    – jlordo
    Commented Aug 2, 2013 at 23:03
  • 1
    Are you in the Java perspective? Keyboard shortcuts sometimes change if you're in another perspective. Are you editing a Java source file?
    – Jesper
    Commented Aug 2, 2013 at 23:04
  • I think is syso and then ctrl + space
    – Rollyng
    Commented Aug 2, 2013 at 23:04
  • @Rollyng: syso and sysout both work.
    – jlordo
    Commented Aug 2, 2013 at 23:05
  • 2
    If you accidentally try to put a print statement ouside of a method or code block using sysout + ctrl + space, then you obviously won't be able to use sysout and you will see this message : Sysout - method stub. Commented Jun 9, 2014 at 1:26