| Author |
System.out.println with a key-combination in Eclipse 3
|
Javoso Torso
Ranch Hand
Joined: Aug 15, 2003
Posts: 88
|
|
Hello, Can anyone tell me how can I insert System.out.println in the code with only a key-combination in Eclipse 3 Thanks! Javo [ August 01, 2004: Message edited by: Javoso Torso ]
|
I hate 'trial and error'<br />and I am doing it all the time
|
 |
Ernest Friedman-Hill
author and iconoclast
Marshal
Joined: Jul 08, 2003
Posts: 24051
|
|
|
One way is "sysout Ctrl-/" -- i.e., there's a template named "sysout" and you can expand it with content assist.
|
[Jess in Action][AskingGoodQuestions]
|
 |
Javoso Torso
Ranch Hand
Joined: Aug 15, 2003
Posts: 88
|
|
Thanks Ernest, It is working I was used, with JBuilder to only press Ctrl+j and o. So two moves... pretty fast This one is a bit longer: you have to type the whole word sysout! Regards, Javo
|
 |
Javoso Torso
Ranch Hand
Joined: Aug 15, 2003
Posts: 88
|
|
ok, now I customized it a bit: under Window/Preferences and Java/Editor/Templates I put the same sysout has under a new name oo. oo because with only one o, you have to work out a long list of options which use the o. Now it is a bit faster
|
 |
 |
|
|
subject: System.out.println with a key-combination in Eclipse 3
|
|
|