-1

What is easiest way to tell Eclipse in Java code make System.out.println(""); statement by writing some short phrase. I like C# way of pressing cw 2 x tab and get full code:

cw 2 x tab brings

Console.WriteLine("");

How to achieve the same in Eclipse Java project?

vico
  • 17,051
  • 45
  • 159
  • 315

1 Answers1

0

Window>Preferences>Java>Editor>Templates

By default it is: print sysout then Ctrl+Space

Serge Breusov
  • 1,316
  • 4
  • 11
  • 24