Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

System.out.println shortcut in eclipse

In this post, we will see about System.out.println shortcut in Eclipse.

While working on any java program, you may need to print output on the console. Although log4j or java.util.logger is recommended for logging any information for production code, but System.out.println is most preferred way to print anything on console quickly.

You can use eclipse shortcut for System.out.println() to use it efficiently as you may need to write on console many times while writing java program.

Eclipse shortcut for System.out.println

There are two eclipse shortcuts, you can use to write System.out.println.

  • You can type syso and press ctrl + space to autocomplete it.
  • You can also use sysout and press ctrl + space to autocomplete it.

All eclipse templates

if you want to explore list of all templates provided by eclipse.
You can go to Window->Preferences->Java->Editor->Templates

That’s all about System.out.println shortcut in eclipse.



This post first appeared on How To Learn Java Programming, please read the originial post: here

Share the post

System.out.println shortcut in eclipse

×

Subscribe to How To Learn Java Programming

Get updates delivered right to your inbox!

Thank you for your subscription

×