Location: window/reference/java/codestyle/code/new java files
${filecomment}
${package_declaration}
/**
* Project name: ${project_name}
* Class name: ${type_name}
* Class Description:
* Create Person: Ludequi
* Author unit: National Network Electric Power Science Research Institute Information Communication Branch
* Contact Method: www.mapviews.cn;ldk114@gmail.com
* Creation time: ${date} ${time}
* @version
*/
${typecomment}
${type_declaration}
MyEclipse Programming-java classes automatically add related annotation templates
A MyEclipse edit window How to add a class annotation when developing a Java program.
Positive solution: MyEclipse edit panel >>window>>java>>code style>>code Templates>>configure generated Code and Commengts>>comments>>types>>edit ...
/******************************************************************************
* @function:
* @author Chenyanli
* @file_name ${file_name}
* @package_name: ${package_name}
* @project_name: ${project_name}
* @department: Integrated Resources Project Development Department
* ? Copyright Zhengzhou IMAN Technology Development Co.,ltd 2007
* All Rights Reserved.
* ****************************************************************************
* Modify the time modified by the person modified content
*
* ****************************************************************************
* ${tags}
*/
You can also perform inert in the Edit Template window Variable
Two MyEclipse edit window How to add a comment about a function (method) when developing a Java program.
Positive solution: MyEclipse edit panel >>window>>java>>code style>>code Templates>>configure generated Code and Commengts>>comments>>methods>>edit ...
/**
* @function:
* @data: ${date}${time}
* @author Chenyanli
* ${tags}
*
*/
You can also perform inert in the Edit Template window Variable