DarkMatter in Cyberspace
  • Home
  • Categories
  • Tags
  • Archives

Customize Code Template in Eclipse


Window->Preferences->Java->Code Style->Code Templates:

Comments->Types: Javadoc style of class, use Alt+Shift+J create;

Code->New Java Files: Code Template of New Created Java Class File;

Check "Automatically add comments for new methods and types" if you want javadoc added to your new created java file automatically.

Here is my javadoc template of types:

/**

  • ${type_name}

  • @author Chad

  • Created: ${date}

  • Last Modified: ${date}

  • ${tags}

*/



Published

Apr 1, 2012

Last Updated

Apr 1, 2012

Category

Tech

Tags

  • code template 1
  • customize 5
  • Eclipse 40

Contact

  • Powered by Pelican. Theme: Elegant by Talha Mansoor