File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

eclipse shortcut for System.out.println("");

 
satish pune
Ranch Hand
Posts: 44
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 5093
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 33694
316
Eclipse IDE Java VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Arun Prasath
Ranch Hand
Posts: 192
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 44
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Jeanne - that was helpful !

-satish
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic