Mylyn Eclipse TODO integration

随声附和 提交于 2019-11-29 08:13:36

问题


In Eclipse, I use the Mylyn plugin for viewing my open tickets from a repository. But, also in our code, we have some places where the TODO marker is view. The TODO markers show up on the "Tasks" pane, whereas the Mylyn view shows up in the "Task List" pane. Is there a way to integrate the two so they show up in the same pane and the TODOs are just another category?

thanks,

Jeff


回答1:


yeah this was implemented in 3.0, right click on the task (in the tasks view) and click "new task from marker" and it'll prompt you for the task repo to add it to.




回答2:


You cannot make TODO Markers show up in Mylyn's Task List. However, as Brendon mentions it is trivial for you to create a Mylyn Task from a TODO Marker. All you need to do is:

  1. Open the Markers View
  2. Right click on the Marker of interest
  3. Select "New Task from Marker"
  4. Decide which repository to create the task in

The Mylyn Task will be automatically populated with some relevant information. The summary will be set to something like this "Java Task: FIXME make private" and the description will be filled in with a reference to the file and line number, like this:

Resource: org.eclipse.mylyn.commons.ui/src/org/eclipse/mylyn/internal/provisional/commons/ui/DelayedRefreshJob.java Location: line 37

I suggest you just keep the TODO Markers in your code until you want one of the developers to work on it, then use the Markers View to quickly create a Mylyn Task and assign it to a particular developer.

David Shepherd
http://www.twitter.com/davidcshepherd'>www.twitter.com/davidcshepherd



来源:https://stackoverflow.com/questions/1626041/mylyn-eclipse-todo-integration

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!