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
daniel_jb1 is currently offline daniel_jb1Friend
Messages: 4
Registered: July 2011
Junior Member
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
Dani Megert is currently offline Dani MegertFriend
Messages: 3802
Registered: July 2009
Senior Member
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
daniel_jb1 is currently offline daniel_jb1Friend
Messages: 4
Registered: July 2011
Junior Member
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
Nam is currently offline NamFriend
Messages: 9
Registered: August 2011
Junior Member
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]

Report message to a moderator

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


Current Time: Fri Apr 19 22:33:28 GMT 2024

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

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

Back to the top