Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » "sout" -> "System.out.println()"
"sout" -> "System.out.println()" [message #696723] Thu, 14 July 2011 17:47 Go to next message
Eclipse UserFriend
I was just wondering, is there a way to configure Eclipse so that it will automatically change "sout" to "System.out.println", and any other shortcuts I might want?

Thanks,

Dan
Re: "sout" -> "System.out.println()" [message #696736 is a reply to message #696723] Thu, 14 July 2011 18:07 Go to previous messageGo to next message
Eclipse UserFriend
On 14.07.2011 19:47, forums-noreply@eclipse.org wrote:
> I was just wondering, is there a way to configure Eclipse so that it
> will automatically change "sout" to "System.out.println", and any
> other shortcuts I might want?
Yes. This is called 'Templates'. Out of the box there's e.g. a 'sysout'
template. You insert the template by typing some initial characters and
then press Ctrl+Space.

Dani
>
> Thanks,
>
> Dan
Re: "sout" -> "System.out.println()" [message #719062 is a reply to message #696736] Thu, 25 August 2011 23:24 Go to previous messageGo to next message
Eclipse UserFriend
Thanks a lot, this was just what I was looking for!
Re: "sout" -> "System.out.println()" [message #722025 is a reply to message #719062] Sun, 04 September 2011 04:21 Go to previous message
Eclipse UserFriend
Great! Thanks for the useful information. I often use shortcuts in NetBeans, now I can do the same in Eclipse!

Object Creation

[Updated on: Sat, 03 December 2011 09:53] by Moderator

Report message to a moderator

Previous Topic:Javaw.exe terminated
Next Topic:Testing Eclipse Plugin Preference Page and Handler
Goto Forum:
  


Current Time: Wed Feb 12 05:22:04 GMT 2025

Powered by FUDForum. Page generated in 0.03802 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top