2.14. Creating a Task
Problem
Eclipse tasks in the Tasks view serve as reminders of things you need to do. For example, compilation errors appear in the Tasks view; you can click them to jump to the lines containing the errors. So, how can you add and manage your own tasks to the Tasks view?
Solution
You can create a task in the Tasks view by right-clicking the view and selecting New Task. This opens the New Task dialog, in which you can create the task.
Discussion
The New Task dialog is shown in Figure 2-12. Enter the name of the new task, select a priority level, and click OK.

Figure 2-12. Creating a new task
Tip
You also can create a new task by right-clicking the marker bar in an editor and selecting Add Task. You can also click the button with three + signs in the Tasks view’s toolbar.
The new task will appear in the Tasks view, as shown in Figure 2-13.

Figure 2-13. The new task
You can delete tasks you add to the Tasks view by right-clicking them and clicking the Delete button or by selecting the tasks and pressing the Delete key.
Tasks also have a completion status, which you can set by right-clicking the tasks and clicking Mark Completed. When you want to delete all completed tasks, right-click the Tasks view, and click Delete Completed Tasks.
See Also
Chapter 1 of Eclipse (O’Reilly).
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access