When Elipse is a Java project, there is a very user-friendly "task management" feature that makes it easy to document some of the tasks in the 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 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.
This article transferred from: http://hi.baidu.com/dearhwj/blog/item/345f471835ff5dbc4aedbcb1.html
Manage tasks with Todo tags in Eclipse (Task)