facebook

comments in java files from eclipse.

  1. MyEclipse IDE
  2.  > 
  3. Installation, Configuration & Updates
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #251428 Reply

    Hello,

    I am using eclipse for my project.When I create a new Java Class file.I am adding the comments manually at the top in each page like this:

    /**
    * Class description goes here.
    *
    * @version 1.82 18 Mar 1999
    * @author Firstname Lastname
    */

    Is there a setting or configuration in eclipse which shows the above comments whenever I create a new Java Class File.

    Can you let me know about this.

    Thanks
    Rakesh.

    #251429 Reply

    Brian Fernandes
    Moderator

    Sure,

    Go to: Window > Preferences > Java > Code Style > Code Templates

    Check the setting under Code > New Java files.

    Best,
    Brian.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: comments in java files from eclipse.

You must be logged in to post in the forum log in