Java Development Tools A good comment template

Source: Internet
Author: User

<?xml version= "1.0" encoding= "UTF-8" standalone= "no"? ><templates><template autoinsert= "false" context= "Filecomment_context" deleted= "false" description= "Comment for created Java files" enabled= "true" id= " Org.eclipse.jdt.ui.text.codetemplates.filecomment "Name=" filecomment "/><template autoinsert=" false "context = "Overridecomment_context" deleted= "false" description= "Comment for overriding methods" enabled= "true" id= " Org.eclipse.jdt.ui.text.codetemplates.overridecomment "Name=" overridecomment "/><template autoinsert=" false "Context=" Fieldcomment_context "deleted=" false "description=" Comment for Fields "enabled=" true "id=" Org.eclipse.jdt.ui.text.codetemplates.fieldcomment "name=" Fieldcomment ">
</template><template autoinsert= "false" context= "Typecomment_context" deleted= "false" description= " Comment for created types "enabled=" true "id=" Org.eclipse.jdt.ui.text.codetemplates.typecomment "name=" Typecomment " >/**
* @description Function Description:
* @author Author: Zhou Zhiwei
* @param parameter: ${tags}
* @createdate Date established: ${date}${time}
* @projectname project name: ${project_name}
* @packageclass Package and class name: ${package_name}.${file_name}
*/</template><template autoinsert= "false" context= "Methodcomment_context" deleted= "false" description= " Comment for non-overriding methods "enabled=" true "id=" Org.eclipse.jdt.ui.text.codetemplates.methodcomment "Name=" Methodcomment ">/**
* @projectname project name: ${project_name}
* @packageclass Package and class name: ${package_name}.${file_name}
* @description Function Description:
* @author Author: Zhou Zhiwei
* @param parameter: ${tags}
* @return return type: ${return_type}
* @createdate Date established: ${date}${time}
*/</template><template autoinsert= "true" context= "Delegatecomment_context" deleted= "false" description= " Comment for delegate methods "Enabled=" true "id=" Org.eclipse.jdt.ui.text.codetemplates.delegatecomment "Name=" Delegatecomment ">/**
* ${tags}
* ${see_to_target}
*/</template><template autoinsert= "false" context= "Constructorcomment_context" deleted= "false" Description= "Comment for created constructors" enabled= "true" id= " Org.eclipse.jdt.ui.text.codetemplates.constructorcomment "Name=" constructorcomment ">/**& #13;
* @projectname project name: ${project_name}
* @packageclass Package and class name: ${package_name}.${file_name}
* @description Function Description: & #13;
* @author Author: Zhou Zhiwei & #13;
* @param parameters: ${tags} & #13;
* @return return type: & #13;
* @createdate Establishment date:${date}${time}& #13;
*/</template><template autoinsert= "true" context= "Settercomment_context" deleted= "false" description= " Comment for Setter method "enabled=" true "id=" Org.eclipse.jdt.ui.text.codetemplates.settercomment "Name=" Settercomment ">/**
* @param ${param} The ${bare_field_name} to set
*/</template><template autoinsert= "true" context= "Gettercomment_context" deleted= "false" description= " Comment for Getter Method "enabled=" true "id=" Org.eclipse.jdt.ui.text.codetemplates.gettercomment "Name=" Gettercomment ">/**
* @return The ${bare_field_name}
*/</template></templates>

You only need to introduce this template when using this template.

Java Development Tools A good comment template

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.