Eclipse Usage and tricks 13: automatically generated TODO comments 1

Source: Internet
Author: User

Code generated automatically using Eclipse's shortcut keys, often with such comments.

At one glance there is no difference between this comment and the general comment, but Todo has a different color and should have some content. Todo is a task label that is provided in eclipse to mark something to be done. Go ahead and look at the tags in Eclipse:
Step One: Window->preference->java->complier->task tags

You can see that these tags can be configured by the user themselves, there are three priority levels: high, general, low. The bottom of the dialog box is also a label that is case sensitive and is checked by default. If users do not like these auto-generated labels, they can remove them by themselves:
Step one: Window->preference->java->code style->code Templates


Step two: Code->method Body, select Edit, delete "//${todo} auto-generated Method stub" This line can be


Previous article, Eclipse usage and tip 12: Quickly copy a line:
http://blog.csdn.net/ts1122/article/details/8977670
Next article, Eclipse Usage and tricks 14: automatically generated TODO Note 2:
http://blog.csdn.net/ts1122/article/details/9018907

Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

Eclipse Usage and tricks 13: automatically generated TODO comments 1

Related Article

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.