首页 > 代码库 > eclipse注释模板
eclipse注释模板
学校注释模板
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 | <? xml version = "1.0" encoding = "UTF-8" standalone = "no" ?>< templates >< 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" > /** * 项目名称:${project_name} * 类名称:${type_name} * 类描述: * 创建人:王少帅 * 创建时间:${date} ${time} * @version */</ 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" > /** * 创建一个新的实例 ${enclosing_type}. * * ${tags} */ </ 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 = "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 = "methodcomment_context" deleted = "false" description = "Comment for non-overriding methods" enabled = "true" id = "org.eclipse.jdt.ui.text.codetemplates.methodcomment" name = "methodcomment" > /** * ${enclosing_method}(这里用一句话描述这个方法的作用) * @param name * @return ${return_type} * @Exception */ </ template >< 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" > /** * 文件名:${file_name} * * 版本信息: * 日期:${date} * Copyright 足下 Corporation ${year} * 版权所有 * */ </ template >< template autoinsert = "true" context = "overridecomment_context" deleted = "false" description = "Comment for overriding methods" enabled = "true" id = "org.eclipse.jdt.ui.text.codetemplates.overridecomment" name = "overridecomment" > /** * (non-Javadoc) * ${see_to_overridden} */ </ template >< template autoinsert = "false" context = "gettercomment_context" deleted = "false" description = "Comment for getter method" enabled = "true" id = "org.eclipse.jdt.ui.text.codetemplates.gettercomment" name = "gettercomment" > /** * ${bare_field_name} * @return the ${bare_field_name} */ </ template >< template autoinsert = "false" context = "fieldcomment_context" deleted = "false" description = "Comment for fields" enabled = "true" id = "org.eclipse.jdt.ui.text.codetemplates.fieldcomment" name = "fieldcomment" > /** * ${field}:${todo}(用一句话描述这个变量表示什么) * * @since Ver 1.1 */ </ template ></ templates > |
文件为:见附件
来自为知笔记(Wiz)
附件列表
eclipse注释模板
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。