Mylyn 任务 - 在代码中使用 TODO 分配任务?
有没有办法使用 TODO: Mylyn 中的语句(与 Trac 集成)向开发人员分配任务
基本上我想在代码中 - 比如说 MyClass.java / function GetNames 将 TODO: 后跟开发人员姓名和主题,并使其产生分配给开发人员的 Trac 任务。
谢谢
Is there a way to assign tasks to developers using TODO: statements in Mylyn (with Trac integration)
Basically I want to in the code - say MyClass.java / function GetNames
put TODO: followed by the developer name and subject and have it result in a Trac task assigned to the developer.
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您无法将 TODO 标记直接分配给开发人员,但 Mylyn 使您可以轻松地从 TODO 标记创建 Trac 任务。您需要做的就是:
Trac 任务将自动填充一些相关信息。摘要将设置为类似“Java Task: FIXME make private”的内容,并且描述将填写对文件和行号的引用,如下所示:
资源:org.eclipse.mylyn.commons.ui/src /org/eclipse/mylyn/internal/provisional/commons/ui/DelayedRefreshJob.java 位置:第 37 行
我建议您将 TODO 标记保留在代码中,直到您希望其中一位开发人员对其进行处理,然后使用标记视图快速创建 Trac 任务,将其分配给特定开发人员,然后点击提交。
大卫·谢泼德
http://www.twitter.com/davidcshepherd
You cannot assign TODO Markers directly to developers but Mylyn makes it easy for you to create a Trac Task from a TODO Marker. All you need to do is:
The Trac 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 Trac Task, assign it to a particular developer, and hit submit.
David Shepherd
http://www.twitter.com/davidcshepherd
目前答案是否定的。您必须提交增强请求或为 Mylyn 和 Trac 连接器开发自定义扩展。
A a present time the answer is no. You would have to submit an enhancement request or develop a custom extension for Mylyn and Trac connector.