Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to show automatically the Author Names always in a Java Class ?

 
Vinod Vinu
Ranch Hand
Posts: 217
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How to show the Author name like this in eclipse always whenevr a new java class is going to be develop:-

/**
* @author Deepak Kumar
*
* http://www.roseindia.net
Hibernate Criteria Query Example
*
*/

Thanks in advance
 
Joachim Rohde
Ranch Hand
Posts: 433
Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Even though this is not a Struts question: You have to change your code template and add there "@author ${user}". And if you don't want ${user} to be substituted by the username of your system, have a look here: http://martijndashorst.com/blog/2006/04/21/eclipse-goodie-your-actual-name-instead-of-login-in-javadoc-author-tags/
 
Nishan Patel
Ranch Hand
Posts: 689
Eclipse IDE Java Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Take time to choose correct forum. This is Struts forum and question is not about Struts related.

Please read this Carefully Choose One Forum ..
 
Nishan Patel
Ranch Hand
Posts: 689
Eclipse IDE Java Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
And JAutoDoc Plug-in in eclipse use for add header and comment to class file.

Update your eclipse and install plugin from below url.

JAutoDoc ..
 
Vinod Vinu
Ranch Hand
Posts: 217
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
how to update plugin or use the file eclipse.ini
 
Nishan Patel
Ranch Hand
Posts: 689
Eclipse IDE Java Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
GO to in your eclipse

Help ---> Software Updates ---> Find and Install ....

That will open new windows.

Now select second option Search for new features to install and press next. Now you get new window which is same as below image.



Here you can add plugin link that I have given to you in my above reply.
 
Vinod Vinu
Ranch Hand
Posts: 217
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
getting the following errorr:-


Filename: 1.bmp
Description:
File size: 708 Kbytes
[Download 1.bmp] Download Attachment
 
Vinod Vinu
Ranch Hand
Posts: 217
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Getting following error:-


Filename: 3.bmp
Description:
File size: 576 Kbytes
[Download 3.bmp] Download Attachment
 
Nishan Patel
Ranch Hand
Posts: 689
Eclipse IDE Java Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Refer below link it will explain all steps...

JAutoDoc
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving to IDEs.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic