Mylyn 任务 - 在代码中使用 TODO 分配任务?

发布于 2024-09-02 06:38:54 字数 162 浏览 3 评论 0原文

有没有办法使用 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

温柔一刀 2024-09-09 06:38:54

您无法将 TODO 标记直接分配给开发人员,但 Mylyn 使您可以轻松地从 TODO 标记创建 Trac 任务。您需要做的就是:

  1. 打开标记视图
  2. 右键单击​​感兴趣的标记
  3. 选择“从标记新建任务”
  4. 决定在哪个 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:

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

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

单挑你×的.吻 2024-09-09 06:38:54

目前答案是否定的。您必须提交增强请求或为 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文