| Author |
eclipse shortcut for System.out.println("");
|
satish pune
Ranch Hand
Joined: Sep 04, 2003
Posts: 44
|
|
Hello , I am using Eclipse 3.0.0 and am relatively new at using Eclipse I have used JBuilder and have come to like the ability to add System.out.println(""); - by just using a Keyboard shortcut - Ctrl + J However - I have not been able to figure out how to go about the same in Eclipse Its quite irritating to everytime write the same thing again ! Thanks , -satish
|
 |
Jeroen Wenting
Ranch Hand
Joined: Oct 12, 2000
Posts: 5093
|
|
You can add macros like that to Eclipse as well, plus it comes equipped with a decent set of them as standard. I must admit I hardly ever use them, too lazy to learn them all
|
42
|
 |
Jeanne Boyarsky
internet detective
Marshal
Joined: May 26, 2003
Posts: 26192
|
|
Satish, Type sysout and then press ctrl-space. The shortcut changed in one of the versions of Eclipse. You can check which one yours uses by going to Windows --> Preferences --> Editor --> Templates. This is also the place to change the name of templates or create your own.
|
[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
|
 |
Arun Prasath
Ranch Hand
Joined: Sep 17, 2003
Posts: 192
|
|
Originally posted by Jeanne Boyarsky: Satish, Type sysout and then press ctrl-space. The shortcut changed in one of the versions of Eclipse. You can check which one yours uses by going to Windows --> Preferences --> Editor --> Templates. This is also the place to change the name of templates or create your own.
Thanks Jeanne for this tip. though I have been using eclipse, I never knew of these templates. Good learning!!
|
 |
satish pune
Ranch Hand
Joined: Sep 04, 2003
Posts: 44
|
|
Thanks Jeanne - that was helpful ! -satish
|
 |
 |
|
|
subject: eclipse shortcut for System.out.println("");
|
|
|