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 need to increase 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 marker "on the left side of the editing window, and the Task window will be deleted as well.
eclipse In addition to the default provides 3 task labels (fixme,todo,xxx), reference, can also support the custom task label.
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