dev-no.03 Eclipse Common shortcut key finishing

Source: Internet
Author: User

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

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.