Results 1 to 2 of 2
  1. #1
    JavaForums's Avatar
    JavaForums is offline Administrator
    Join Date
    Dec 2006
    Rep Power

    Lightbulb Generating Code Automatically Using Custom code Template In Eclipse

    One of the good features of Eclipse is its auto fill property. This can be further enhanced using its code template feature. Creation of code templates is necessary to improve development productivity. Templates add consistency and uniformity to your code. Eclipse has so many ready-to-use templates. And you can create your own code templates according to your requirements. To use these templates just type the starting characters of the template and then press “CTRL+SPACE”. For example in Eclipse IDE type “tr” and then press “CTRL+SPACE”, It will add “try-catch” block to the code.

  2. #2
    pegitha is offline Member
    Join Date
    Apr 2007
    Rep Power


    If you go under Help and click Key Assist in Eclipse you can see all the key shortcuts. There are quite a lot of them.

Similar Threads

  1. I need help fixing my code.. or non code?
    By MrHuggykins in forum New To Java
    Replies: 1
    Last Post: 03-19-2008, 10:12 PM
  2. SWT code template
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 12-30-2007, 12:18 PM
  3. Removing empty lines from code using Eclipse
    By javaplus in forum Eclipse
    Replies: 1
    Last Post: 12-14-2007, 09:21 PM
  4. how to debug java code in eclipse
    By rajesh058 in forum Advanced Java
    Replies: 3
    Last Post: 07-25-2007, 11:19 PM
  5. Generating Javadoc In Eclipse IDE
    By JavaForums in forum Eclipse
    Replies: 0
    Last Post: 05-22-2007, 09:34 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts