1, Eclipse Java code automatic hint: Window--preference--java--editor--content assist, In the bottom-last line of the page, the box changes to. abcdefghijklmnopqrstuvwxyz
2. Set the entry for the comment template: Window->preference->java->code style->code Template and expand the Comments node is all the elements that need to be annotated. Each of these elements is now introduced:
File Comment Label:/** * @Title: ${file_name} * @Package ${package_name} * @Description: ${todo} (describe what the file does in a word) * @author a18ccms a18ccms_gmail_com * @date ${date} ${time} * @version v1.0 */type ( Types) Comment Label (comment for Class):/** * @ClassName: ${type_name} * @Description: ${todo} ( Here in a word describing the role of this class) * @author A18ccms a18ccms_gmail_com * @date ${date} ${ time} * * ${tags} */field (fields) Comment label:/** * @Fields ${field} : ${ TODO} (describe what this variable means in a sentence) */ constructor Tags:/** * <p>title: </p> * <p >description: </p> * ${tags} */method (Constructor & methods) Tags:/** * @Title: ${enclosing_method} * @Description: ${todo} (here is a word describing the effect of this method) * @param &NBSP;${TAGS}&NBSP;&Nbsp; settings file * @return ${return_type} return type * @throws */Overlay Method (overriding methods) label:/* (non- javadoc) * <p>title: ${enclosing_ Method}</p> * <p>description: </p> * ${tags} * ${see_to_ overridden} */representative Method (Delegate methods) Tags:/** * ${tags} * ${see_to_target} */ getter method Label:/** * @return ${bare_field_name} */setter method label:/** * @param ${param} ${bare_field_name} */to set
3,ctrl+shift+f shortcut keys, automatic typesetting
4, Ctrl+shift+o shortcut keys, Automatic introduction of the package
5, Ctrl+shift+t shortcut key, search class
dev-no.03 Eclipse Common shortcut key finishing