`

JAutodoc - Eclipse Plugin

阅读更多
JAutodoc - Eclipse Plugin

JAutodoc is an Eclipse Plugin for automatic adding Javadoc and file headers to your source code. It optionally generates initial comments from element name. Starting with Release 1.3 of JAutodoc it is possible to define Velocity templates for Javadoc and file headers.

Features

JAutodoc has the following features:

Mode

Visibility

Filter

Options

File Header

  • Add/Replace file header
    You can specify a file header that will be added to your source, if no header exists. Optionally, existing headers can be replaced. With option Multi comment header checked, multiple comments at the beginning of the source can be replaced.

    Inside header text the Velocity Template Language (VTL ) and pre-defined Variables can be used.

    Note: In order to use dollar signs inside the header template (e.g. for SVN/CVS properties like $id$) you have to escpape these signs by an backslash (\$).

Package Javadoc

  • Edit Template
    You can specify the initial content of the package.html , which can be added via context menu of package nodes in the Package Explorer .

    Like for headers the Velocity Template Language (VTL ) and pre-defined Variables can be used inside the template.

Replacements

When creating comments from element name, shortcuts inside of fields, methods and parameters can be replaced by another text. For example "set" will be replaced by "Sets the" or "db" can be expanded to "Database".

These replacements can be added, deleted or changed via the preferences . The scope of an replacement can be "Field", "Method" or "Both". Use "Field" for fields and parameters. Optionally only the prefix (Prefix) or every occurrence (All) of the shortcut can be replaced.

Note: Shortcuts are case insensitive. They are detected by changes between upper and lower case letters inside the element name (e.g. setDbName).


Usage



Changes


License

JAutodoc is licensed under the Eclipse Public License - v 1.0

Starting with Release 1.3 JAutodoc comes with the Velocity Template Engine 1.5, which is available under the Apache Software License - v 2.0



Download and Installation

Download JAutodoc here and unzip the file to the Eclipse directory or use the Update Site

http://jautodoc.sourceforge.net/update/

Note: Update from 1.3.0 to 1.4.0 using the Update Site doesn't work correctly. You have to select "Help->Software Updates->Find and Install...->Search for new features to install" to get the new version.


3.更新插件成功点击 window -> preferences->java->javadoc
4.File Header 选中add file header,点击 edit 按钮输入:
  /**
 * Copyright (c ) 2010 Founder International Co. Ltd & JetStream
 *
 * All rights reserved.
 *
 */
5.点击Javadoc->Templates :Types ->Default ->Edit:
  添加  
   @author JiDong Zhang
   @version 1.0
 等等其它信息:
6.在你要添加的class 上右击-JAutodoc->Add javadoc/Add header



Contact

JAutodoc is written by Martin Kesting .
分享到:
评论

相关推荐

    Eclipse Plugin JAutoDoc

    **Eclipse Plugin JAutoDoc** 是一款专为Java开发者设计的插件,它极大地提升了代码注释的生成效率。在Eclipse集成开发环境中,JAutoDoc 提供了比Eclipse默认注释功能更为强大和灵活的特性,帮助程序员快速、准确地...

    eclipse插件 jautodoc 1.14.2

    JAutodoc is an Eclipse Plugin for automatically adding Javadoc and file headers to your source code. It optionally generates initial comments from element name by using Velocity templates for Javadoc ...

    eclipse带插件

    subclipse, m2e, m2e-extras, findbugs, quickjunit, jAutodoc, propertieseditor, log4e_pro, atlassian-eclipse-plugin, logviewer

    JAVA反编译eclipse插件JAutodoc使用说明

    JAutodoc是一款专为Eclipse IDE设计的插件,旨在帮助开发者自动化地添加和更新Javadoc注释,从而节省编写文档的时间。本篇将详细介绍JAutodoc的使用方法。 首先,安装JAutodoc插件。你可以通过Eclipse的内置软件...

    eclipse 配置说明

    2. **JAutoDoc** - 自动生成Java代码注释,提高代码可读性。 3. **PMD** - 代码质量检查工具,帮助开发者优化代码结构。 4. **PropEdit** - 编辑Java属性文件,并能自动保存为Unicode格式。 5. **JSON2...

Global site tag (gtag.js) - Google Analytics