Manage tasks with Todo tags in eclipse

Source: Internet
Author: User

When you use Todo tags to manage tasks in Eclipse Elipse as a Java project, there is a very user-friendly "task management" feature that makes it easy to document some of the tasks in your project that need to be handled. Let's take a look at how "task management" is used.
The following class adds a section of Fixme and Todo tags to the comment of the class and name properties, and the Fixme and TODO tags also follow a text to illustrate what needs to be done.

/**
* Fixme
* @author Administrator
*
*/
public class User {

TODO needs to add Javadoc
private String name;

Public String GetName () {
return name;
}

public void SetName (String name) {
THIS.name = name;
}

}

Open the Tasks window in Eclipse (Task View)

The 2 tasks that you just defined in the Task window are displayed.

After the task is completed, you can delete the corresponding task label by clicking on the "Task tip tag" on the left side of the editing window, and the Task window will be deleted as well.

In addition to the default 3 task labels (fixme,todo,xxx), Eclipse provides support for customizing task labels.

Enter Windows->perferences->java->compile->task tags, we can customize the Task tab, Eclipse can support high,normal,low three levels of tasks.

Manage tasks with Todo tags in eclipse

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.