你如何跟踪你的编程TODO?

时间:2023-01-16 16:57:18

I'm one of those people who can't get anything done without a to-do list. If it isn't on the list it doesn't exist.

我是那些没有待办事项清单就无法完成任务的人之一。如果它不在列表中则不存在。

Notepad Method:

When I'm programming I've been keeping notepad open with a list of to-do's for my current project. I'll constantly re-arrange these based off priority and I cross them off and move them to the completed section when I'm finished with that particular task.

当我正在编程时,我一直在打开记事本,列出了当前项目的待办事项列表。我将不断重新安排这些基于优先级的东西,当我完成特定任务时,我将它们交叉并移动到已完成的部分。

Code Comments:

Some programmers pepper their projects source code with:

一些程序员将他们的项目源代码用于:

// TODO: Fix this completely atrocious code before anyone sees it

Plus, I know that there are some tools that show you a list of all TODOs in your code as well.

另外,我知道有一些工具可以显示代码中所有TODO的列表。

Website Task Tracker:

网站任务跟踪器:

What have you found to be the best method of keeping track of your to-do lists for multiple projects?

您发现什么是跟踪多个项目的待办事项列表的最佳方法?

33 个解决方案

#1


Like others, I pepper them about my code, but I use the warning directive to generate a compiler warning too:

像其他人一样,我对它们的代码很感兴趣,但我也使用警告指令来生成编译器警告:

#warning TODO: Implement foobar

This way I can still search for "TODO" but they also shout at me whenever I build.

这样我仍然可以搜索“TODO”,但每当我建立时他们也会对我大喊大叫。

#2


Pen and paper.

笔和纸。

Combined with the genious PocketMod, it's totally perfect. Striking TODOs is soooo satisfying!

结合出色的PocketMod,它非常完美。引人注目的TODO太令人满意了!

#3


I can't speak for other IDE's, but Eclipse will search your project's source files for TODO comments (as well as FIXME and XXX by default) and create tasks for you in the tasks view.

我不能代表其他IDE,但Eclipse会在项目的源文件中搜索TODO注释(默认情况下还有FIXME和XXX),并在任务视图中为您创建任务。

This leads to intriguing situations where you check the tasks view, double-click on a TODO task, and read the comment:

这会导致您查看任务视图,双击TODO任务并阅读注释的有趣情况:

// TODO: Add this functionality.

Eclipse will also add TODO comments when generating certain code blocks, like method implementations, catch blocks for exceptions, etc.

Eclipse还会在生成某些代码块时添加TODO注释,例如方法实现,异常的catch块等。

#4


TODO (and other) comments are great with Visual Studio and ReSharper installed:

安装Visual Studio和ReSharper时,TODO(和其他)注释很棒:

To-Do Explorer http://www.jetbrains.com/resharper/features/screenshots/40/navigation_todoexplorer.png

To-Do Explorer http://www.jetbrains.com/resharper/features/screenshots/40/navigation_todoexplorer.png

#5


Although I didn't try it I really like the idea of tests as todos. What else should get you going if not a failed test?

虽然我没有尝试过,但我非常喜欢将测试视为待办事项。如果没有失败的测试,还有什么可以让你去?

#6


NextAction, from TimeSnapper

来自TimeSnapper的Ne​​xtAction

#7


Personal Abstract Todos

I use Tomboy Notes or paper to make a quick list of abstract high level tasks. Often when I'm on the phone with my manager, I just need to get things written down.

我使用Tomboy Notes或paper来快速列出抽象高级任务。通常当我和我的经理打电话时,我只需要把事情写下来。

Source Code Specfic Todos

I use the inline TODO: / @todo comment marker in my code and then use the Netbeans plugins that give me a running list of todos throughout the project. Since Netbeans can aggregate todo markers from multiple projects, it does not make a difference how many different projects I'm running.

我在我的代码中使用内联TODO:/ @todo注释标记,然后使用Netbeans插件在整个项目中为我提供了一个运行的待办事项列表。由于Netbeans可以聚合来自多个项目的todo标记,因此我运行的项目数量并没有多大差别。

Multiperson Tasks / Todos

Once I have to keep track of todos for more than myself, I move to project management software like OpenProj, MS Project, etc. Also, if the todos involve bugs or feature requests, I use our bugtracker. Other todos, can be manged by a helpdesk system as well.

一旦我需要跟踪todos比我自己更多,我转移到项目管理软件,如OpenProj,MS Project等。此外,如果待办事项涉及错误或功能请求,我使用我们的bugtracker。其他待办事项也可以由帮助台系统管理。

#8


I use ToDoList from AbstractSpoon. It lets you divide your ToDo list into projects and can even be used by a number of users for larger projects using a shared network drive.

我使用AbstractSpoon的ToDoList。它允许您将待办事项列表划分为多个项目,甚至可以被许多用户用于使用共享网络驱动器的大型项目。

#9


I use Pen and Paper to jot down notes. I also use TODO/FIXME tags in code that gets highlighted yellow in Vim and tracked by the TODO extension in Komodo.

我使用钢笔和纸来记下笔记。我还在代码中使用TODO / FIXME标签,该代码在Vim中突出显示为黄色,并由Komodo中的TODO扩展程序跟踪。

One of the most useful additions for me has been using Samurize to embed a plain text file onto my desktop (http://lifehacker.com/software/plain-text/geek-to-live--incorporate-text-files-onto-your-desktop-213280.php). I have 3 virtual desktops and it lives on my email desktop which is where I wind up first thing every morning. It contains a text file with the items that I need to do and it rarely runs more than a week ahead.

对我来说最有用的补充之一就是使用Samurize将纯文本文件嵌入到我的桌面上(http://lifehacker.com/software/plain-text/geek-to-live--incorporate-text-files-onto - 您的桌面-213280.php)。我有3个虚拟桌面,它存在于我的电子邮件桌面上,这是我每天早上第一件事。它包含一个文本文件,其中包含我需要执行的项目,并且很少会提前一周运行。

Wednesday 2/11/2009
- Item 1
- Item 2
Thursday 2/12/2009
- Item 3

2009年11月2日星期三 - 项目1 - 项目2 2009年12月2日星期四 - 项目3

I use Executor that has a keyword "todo" that automatically opens gvim with this file when I want to edit/add/remove items. This makes it about 3 keystrokes to get it open and ready to modify. It helps me remember the Monday morning production moves before I get buried in email and meetings. As soon as I edit, it's reflected on the desktop.

我使用具有关键字“todo”的Executor,当我想编辑/添加/删除项目时,该关键字会自动打开带有此文件的gvim。这使得它打开大约3次击键并准备修改。在我被埋葬在电子邮件和会议之前,它帮助我记住周一早上的制作动作。编辑后,它会立即反映在桌面上。

Obviously for longer and more detailed things, I rely on Roundup, Outlook reminders, etc. but this has been a handy way to jot things down so they won't get lost in the shuffle.

显然,对于更长更详细的事情,我依靠Roundup,Outlook提醒等等,但这是一个方便记下事情的方法,所以他们不会迷失在洗牌中。

#10


I use inline TODO: comments as Visual Studio will track these for me, of course I still have to look at the task list to see them. I cannot count the number of times I have found a TODO: comments whilst reviewing some code I thought was complete.

我使用内联TODO:注释,因为Visual Studio将为我跟踪这些,当然我仍然需要查看任务列表才能看到它们。我无法计算我找到TODO的次数:在评论我认为完整的一些代码时的评论。

#11


For every task in a project i create a new entry in the issue tracker (Bugzilla for me).

对于项目中的每个任务,我在问题跟踪器中创建一个新条目(对我来说是Bugzilla)。

  • A big advantage is that you can track back every changes made by the issue ID.
  • 一个很大的优点是您可以跟踪问题ID所做的每个更改。

  • You can report customers or project members the status of your task.
  • 您可以向客户或项目成员报告任务的状态。

  • You can create a new bug type like "task", "todo" or "feature-request".
  • 您可以创建一个新的错误类型,如“任务”,“待办事项”或“功能请求”。

  • It's a central solution. No local stuff...
  • 这是一个核心解决方案。没有当地的东西......

I our development team there is a rule which says: "Do never change any code without a corresponding entry in the issue tracker. Never!"

我的开发团队有一条规则说:“如果没有问题跟踪器中的相应条目,请不要更改任何代码。永远不要!”

#12


I would make a clear difference between FIXME and TODO. FIXME is a critical and must be fixed before commit/release. TODO can live a bit longer but should be cleaned away eventually.

我会在FIXME和TODO之间做出明显的区别。 FIXME是一个关键,必须在提交/发布之前修复。 TODO可以活得更久但最终应该清理干净。

#13


A simple plain text file (TODO) in the top level of the project's cvs/svn area works for me for simple projects.

项目cvs / svn区域顶层的简单纯文本文件(TODO)适用于简单项目。

#14


Like others have mentioned, I use the standard FIXME/TODO/XXX in my code comments, and then can find the list of tasks within my IDE using their various tools. I also use hudson's task scanner plugin to keep track of everything, since I'm a sucker for graphs.

像其他人提到的那样,我在代码注释中使用标准FIXME / TODO / XXX,然后可以使用各种工具在IDE中找到任务列表。我还使用hudson的任务扫描程序插件来跟踪所有内容,因为我是图形的傻瓜。

#15


I created a build task that picks out //TODO: lines from my code files and generates a report I include in team city. It gives you a quick way of see any outstandings on a project without having to check it out.

我创建了一个构建任务,从我的代码文件中挑选出// TODO:行,并生成我在团队城市中包含的报告。它可以让您快速查看项目的任何未完成情况,而无需查看。

you can also use the CodeTagsPlugin with Trac

你也可以使用CodeTagsPlugin和Trac

#16


When programming Java in Eclipse, I find it really useful to, as you say "pepper my source code with // TODO: comments - mainly because Eclipse looks up each one in the project and compiles a task list for me =) In Visual Studio, there is a Task List panel, which I use sometimes, but I don't find it as streamlined as just having the comments in Eclipse.

在Eclipse中编写Java时,我发现它非常有用,正如你所说的那样“使用// TODO来源我的源代码:注释 - 主要是因为Eclipse在项目中查找每一个并为我编译任务列表=”在Visual Studio中,有一个任务列表面板,我有时会使用它,但我不认为它简化为只在Eclipse中有注释。

#17


I use eclipse as IDE, which collects all TODO's to a list and shows it in an outline. Very easy and usable.

我使用eclipse作为IDE,它将所有TODO收集到一个列表中并在大纲中显示它。非常简单和实用。

#18


I use emacs org-mode to keep track of not only code TODOs, but my whole life. It works as an extremely powerful outliner with some spreadsheet and calendar features as well. I use mercurial for lightweight version handling and simple replication between different machings.

我使用emacs org-mode来跟踪代码TODO,但我的整个生活。它作为一个非常强大的大纲,具有一些电子表格和日历功能。我使用mercurial进行轻量级版本处理和不同机器之间的简单复制。

It works surprisingly well.

它的效果令人惊讶。

#19


Having done an extensive search for a suitable "to do list" application I settled on mylyn - the one that comes supplied with Eclipse.

在对一个合适的“待办事项列表”应用程序进行了广泛的搜索之后,我选择了mylyn - 这是Eclipse提供的。

It is easy to create and manage tasks. Tasks can be imported and linked to Bugzilla or a number of other different task repositories. It also has a "task context" which enables files that are relevant to a task to be highlighted and those that are irrelevant to be hidden (which is far more useful than I anticipated it would be).

创建和管理任务很容易。可以导入任务并将其链接到Bugzilla或许多其他不同的任务存储库。它还有一个“任务上下文”,它可以突出显示与任务相关的文件和隐藏不相关的文件(这比我预期的要有用得多)。

#20


Eclipse tracks your TODO and list them in a proper windows automatically. I find it powerful enough if you don't need advanced features.

Eclipse会跟踪您的TODO并自动将它们列在适当的窗口中。如果你不需要高级功能,我发现它足够强大。

#21


I'm quite fond of tracks. It has the flavour of GTD without getting too regimented about it.

我非常喜欢曲目。它具有GTD的味道,而不会过于严格。

I can quickly whack stuff in there as I think of it, and then not have to worry about forgetting after that.

当我想到它时,我可以快速打击那里的东西,然后不必担心在那之后遗忘。

#22


Wow, I just had this question yesterday. After some searching, I settled on the ReminderFox Firefox extension. It's completely integrated into the browser and has pop ups to remind you every time you open your browser when a task is due.

哇,我昨天刚收到这个问题。经过一番搜索,我决定使用ReminderFox Firefox扩展。它完全集成到浏览器中,并且每当您在任务到期时打开浏览器时都会弹出窗口提醒您。

#23


I like Mylyn a lot: integrated into Eclipse, works with many trackers as well as without (local tasks) and realizes new concepts like the focused UI.

我非常喜欢Mylyn:集成到Eclipse中,可以与许多跟踪器一起使用,也可以不使用(本地任务),并实现像重点UI这样的新概念。

#24


There is also Task Scanner Plugin for Hudson (in case it fits in your environment). With that you can track number of TODOs/FIXMEs on your continuous integration build reports.

还有Hudson的Task Scanner插件(如果它适合您的环境)。有了它,您可以在持续集成构建报告中跟踪TODO / FIXME的数量。

#25


alt text http://www.86th.org/hudson.jpg We use the "Open Tasks Trend" feature in Hudson, this works for a slew of languages. For our C# project we have 3 levels of tasks and this is accomplished by different TODO: style comments.

alt text http://www.86th.org/hudson.jpg我们使用Hudson中的“Open Tasks Trend”功能,这适用于大量语言。对于我们的C#项目,我们有3个级别的任务,这是通过不同的TODO:样式注释完成的。

  • High Priority Matches on FIXME:, HARDCODED: or HACK:

    FIXME上的高优先级匹配:,HARDCODED:或HACK:

  • Medium Priority Matches on TODO:

    TODO的中优先级匹配:

  • Low Priority Matches on MEH: or CODEREVIEW:

    MEH上的低优先级匹配:或CODEREVIEW:

Hudson will then take this list and trend graph it as shown in the picture, as well as have a sortable, filterable list of the tasks and it will display the messages on the web page with links that will take you right to the line in the source code on Hudson.

然后Hudson会将此列表和趋势图显示在图片中,并且有一个可排序的,可过滤的任务列表,它将在网页上显示带有链接的消息,这些链接将带您直接进入Hudson上的源代码。

Plus we can easily setup points of interest for code reviews with CODEREVIEW: and have a nice concise list to print out.

此外,我们可以使用CODEREVIEW轻松设置代码评论的兴趣点:并且有一个很好的简明列表可以打印出来。

#26


I use Sandglaz and place my todos in 3 columns now, next and later (a little like their blog, but only one row)...and its easy and fast to use. I'm a freelancer so I work on several projects at a time so it works for me

我现在使用Sandglaz并将我的待办事项放在3列,下一次和稍后(有点像他们的博客,但只有一行)...并且它易于使用且快速。我是一名*职业者,所以我一次只做几个项目,所以它对我有用

I use pending tests only to remind myself to write tests. I use Rspec, so it has that build it.

我使用挂起测试只是为了提醒自己编写测试。我使用Rspec,所以它有它的构建。

#27


For C++ projects (native/ATL):

对于C ++项目(native / ATL):

#ifndef _TODO_H_
#define _TODO_H_
#pragma once

// from atldef.h:
#ifndef _ATL_STRINGIZE
#define __ATL_STRINGIZE(_Value) #_Value
#define _ATL_STRINGIZE(_Value) __ATL_STRINGIZE(_Value)
#endif

// put x in quotes, no need to use #pragma!
#define __TODO(x)           __pragma(message(__FILE__"("_ATL_STRINGIZE(__LINE__)") : TODO: "x)) 
#define __WTF(x)            __pragma(message(__FILE__"("_ATL_STRINGIZE(__LINE__)") : WTF?! "x)) 
// prefer to use ISO-formatted date
#define __BUGFIX(date, x)   __pragma(message(__FILE__"("_ATL_STRINGIZE(__LINE__)") : BUGFIX: "#date" "x)) 
#define __CHANGE(date, x)   __pragma(message(__FILE__"("_ATL_STRINGIZE(__LINE__)") : CHANGE: "#date" "x)) 

#endif _TODO_H_

Looking for something like that for C#.

为C#寻找类似的东西。

#28


doxygen can track such issues

doxygen可以跟踪这些问题

#29


One of our source code modules is absolutely littered with inline #pragma todo lines. The build output is polluted so we never can really tell when there are any new compiler warnings. Some of the todos have been there for years and the original developer has long since left the company.

我们的一个源代码模块绝对散落着内联#pragma todo行。构建输出受到污染,所以我们永远无法确定何时有新的编译器警告。一些待机已存在多年,原始开发商早已离开公司。

#30


When I have many many todos I discovered that it is useless to track them. You end up with hundreds of todos that can't be done.

当我有很多很多东西时,我发现跟踪它们是没用的。你最终会得到数百个无法完成的待办事项。

Only write what you are asked (boss ) and do what bring the biggest benefits everyday.

只写你所问的(老板)并做每天带来最大好处的事情。

I however have a next list. I wrote what I'm currently doing at the top and things I need to fix to complete it. My next list can be done in hours or days usually.

但是我有下一个清单。我写了我目前在顶部做的事情和我需要修复的事情来完成它。我的下一个清单通常可以在几小时或几天内完成。

#1


Like others, I pepper them about my code, but I use the warning directive to generate a compiler warning too:

像其他人一样,我对它们的代码很感兴趣,但我也使用警告指令来生成编译器警告:

#warning TODO: Implement foobar

This way I can still search for "TODO" but they also shout at me whenever I build.

这样我仍然可以搜索“TODO”,但每当我建立时他们也会对我大喊大叫。

#2


Pen and paper.

笔和纸。

Combined with the genious PocketMod, it's totally perfect. Striking TODOs is soooo satisfying!

结合出色的PocketMod,它非常完美。引人注目的TODO太令人满意了!

#3


I can't speak for other IDE's, but Eclipse will search your project's source files for TODO comments (as well as FIXME and XXX by default) and create tasks for you in the tasks view.

我不能代表其他IDE,但Eclipse会在项目的源文件中搜索TODO注释(默认情况下还有FIXME和XXX),并在任务视图中为您创建任务。

This leads to intriguing situations where you check the tasks view, double-click on a TODO task, and read the comment:

这会导致您查看任务视图,双击TODO任务并阅读注释的有趣情况:

// TODO: Add this functionality.

Eclipse will also add TODO comments when generating certain code blocks, like method implementations, catch blocks for exceptions, etc.

Eclipse还会在生成某些代码块时添加TODO注释,例如方法实现,异常的catch块等。

#4


TODO (and other) comments are great with Visual Studio and ReSharper installed:

安装Visual Studio和ReSharper时,TODO(和其他)注释很棒:

To-Do Explorer http://www.jetbrains.com/resharper/features/screenshots/40/navigation_todoexplorer.png

To-Do Explorer http://www.jetbrains.com/resharper/features/screenshots/40/navigation_todoexplorer.png

#5


Although I didn't try it I really like the idea of tests as todos. What else should get you going if not a failed test?

虽然我没有尝试过,但我非常喜欢将测试视为待办事项。如果没有失败的测试,还有什么可以让你去?

#6


NextAction, from TimeSnapper

来自TimeSnapper的Ne​​xtAction

#7


Personal Abstract Todos

I use Tomboy Notes or paper to make a quick list of abstract high level tasks. Often when I'm on the phone with my manager, I just need to get things written down.

我使用Tomboy Notes或paper来快速列出抽象高级任务。通常当我和我的经理打电话时,我只需要把事情写下来。

Source Code Specfic Todos

I use the inline TODO: / @todo comment marker in my code and then use the Netbeans plugins that give me a running list of todos throughout the project. Since Netbeans can aggregate todo markers from multiple projects, it does not make a difference how many different projects I'm running.

我在我的代码中使用内联TODO:/ @todo注释标记,然后使用Netbeans插件在整个项目中为我提供了一个运行的待办事项列表。由于Netbeans可以聚合来自多个项目的todo标记,因此我运行的项目数量并没有多大差别。

Multiperson Tasks / Todos

Once I have to keep track of todos for more than myself, I move to project management software like OpenProj, MS Project, etc. Also, if the todos involve bugs or feature requests, I use our bugtracker. Other todos, can be manged by a helpdesk system as well.

一旦我需要跟踪todos比我自己更多,我转移到项目管理软件,如OpenProj,MS Project等。此外,如果待办事项涉及错误或功能请求,我使用我们的bugtracker。其他待办事项也可以由帮助台系统管理。

#8


I use ToDoList from AbstractSpoon. It lets you divide your ToDo list into projects and can even be used by a number of users for larger projects using a shared network drive.

我使用AbstractSpoon的ToDoList。它允许您将待办事项列表划分为多个项目,甚至可以被许多用户用于使用共享网络驱动器的大型项目。

#9


I use Pen and Paper to jot down notes. I also use TODO/FIXME tags in code that gets highlighted yellow in Vim and tracked by the TODO extension in Komodo.

我使用钢笔和纸来记下笔记。我还在代码中使用TODO / FIXME标签,该代码在Vim中突出显示为黄色,并由Komodo中的TODO扩展程序跟踪。

One of the most useful additions for me has been using Samurize to embed a plain text file onto my desktop (http://lifehacker.com/software/plain-text/geek-to-live--incorporate-text-files-onto-your-desktop-213280.php). I have 3 virtual desktops and it lives on my email desktop which is where I wind up first thing every morning. It contains a text file with the items that I need to do and it rarely runs more than a week ahead.

对我来说最有用的补充之一就是使用Samurize将纯文本文件嵌入到我的桌面上(http://lifehacker.com/software/plain-text/geek-to-live--incorporate-text-files-onto - 您的桌面-213280.php)。我有3个虚拟桌面,它存在于我的电子邮件桌面上,这是我每天早上第一件事。它包含一个文本文件,其中包含我需要执行的项目,并且很少会提前一周运行。

Wednesday 2/11/2009
- Item 1
- Item 2
Thursday 2/12/2009
- Item 3

2009年11月2日星期三 - 项目1 - 项目2 2009年12月2日星期四 - 项目3

I use Executor that has a keyword "todo" that automatically opens gvim with this file when I want to edit/add/remove items. This makes it about 3 keystrokes to get it open and ready to modify. It helps me remember the Monday morning production moves before I get buried in email and meetings. As soon as I edit, it's reflected on the desktop.

我使用具有关键字“todo”的Executor,当我想编辑/添加/删除项目时,该关键字会自动打开带有此文件的gvim。这使得它打开大约3次击键并准备修改。在我被埋葬在电子邮件和会议之前,它帮助我记住周一早上的制作动作。编辑后,它会立即反映在桌面上。

Obviously for longer and more detailed things, I rely on Roundup, Outlook reminders, etc. but this has been a handy way to jot things down so they won't get lost in the shuffle.

显然,对于更长更详细的事情,我依靠Roundup,Outlook提醒等等,但这是一个方便记下事情的方法,所以他们不会迷失在洗牌中。

#10


I use inline TODO: comments as Visual Studio will track these for me, of course I still have to look at the task list to see them. I cannot count the number of times I have found a TODO: comments whilst reviewing some code I thought was complete.

我使用内联TODO:注释,因为Visual Studio将为我跟踪这些,当然我仍然需要查看任务列表才能看到它们。我无法计算我找到TODO的次数:在评论我认为完整的一些代码时的评论。

#11


For every task in a project i create a new entry in the issue tracker (Bugzilla for me).

对于项目中的每个任务,我在问题跟踪器中创建一个新条目(对我来说是Bugzilla)。

  • A big advantage is that you can track back every changes made by the issue ID.
  • 一个很大的优点是您可以跟踪问题ID所做的每个更改。

  • You can report customers or project members the status of your task.
  • 您可以向客户或项目成员报告任务的状态。

  • You can create a new bug type like "task", "todo" or "feature-request".
  • 您可以创建一个新的错误类型,如“任务”,“待办事项”或“功能请求”。

  • It's a central solution. No local stuff...
  • 这是一个核心解决方案。没有当地的东西......

I our development team there is a rule which says: "Do never change any code without a corresponding entry in the issue tracker. Never!"

我的开发团队有一条规则说:“如果没有问题跟踪器中的相应条目,请不要更改任何代码。永远不要!”

#12


I would make a clear difference between FIXME and TODO. FIXME is a critical and must be fixed before commit/release. TODO can live a bit longer but should be cleaned away eventually.

我会在FIXME和TODO之间做出明显的区别。 FIXME是一个关键,必须在提交/发布之前修复。 TODO可以活得更久但最终应该清理干净。

#13


A simple plain text file (TODO) in the top level of the project's cvs/svn area works for me for simple projects.

项目cvs / svn区域顶层的简单纯文本文件(TODO)适用于简单项目。

#14


Like others have mentioned, I use the standard FIXME/TODO/XXX in my code comments, and then can find the list of tasks within my IDE using their various tools. I also use hudson's task scanner plugin to keep track of everything, since I'm a sucker for graphs.

像其他人提到的那样,我在代码注释中使用标准FIXME / TODO / XXX,然后可以使用各种工具在IDE中找到任务列表。我还使用hudson的任务扫描程序插件来跟踪所有内容,因为我是图形的傻瓜。

#15


I created a build task that picks out //TODO: lines from my code files and generates a report I include in team city. It gives you a quick way of see any outstandings on a project without having to check it out.

我创建了一个构建任务,从我的代码文件中挑选出// TODO:行,并生成我在团队城市中包含的报告。它可以让您快速查看项目的任何未完成情况,而无需查看。

you can also use the CodeTagsPlugin with Trac

你也可以使用CodeTagsPlugin和Trac

#16


When programming Java in Eclipse, I find it really useful to, as you say "pepper my source code with // TODO: comments - mainly because Eclipse looks up each one in the project and compiles a task list for me =) In Visual Studio, there is a Task List panel, which I use sometimes, but I don't find it as streamlined as just having the comments in Eclipse.

在Eclipse中编写Java时,我发现它非常有用,正如你所说的那样“使用// TODO来源我的源代码:注释 - 主要是因为Eclipse在项目中查找每一个并为我编译任务列表=”在Visual Studio中,有一个任务列表面板,我有时会使用它,但我不认为它简化为只在Eclipse中有注释。

#17


I use eclipse as IDE, which collects all TODO's to a list and shows it in an outline. Very easy and usable.

我使用eclipse作为IDE,它将所有TODO收集到一个列表中并在大纲中显示它。非常简单和实用。

#18


I use emacs org-mode to keep track of not only code TODOs, but my whole life. It works as an extremely powerful outliner with some spreadsheet and calendar features as well. I use mercurial for lightweight version handling and simple replication between different machings.

我使用emacs org-mode来跟踪代码TODO,但我的整个生活。它作为一个非常强大的大纲,具有一些电子表格和日历功能。我使用mercurial进行轻量级版本处理和不同机器之间的简单复制。

It works surprisingly well.

它的效果令人惊讶。

#19


Having done an extensive search for a suitable "to do list" application I settled on mylyn - the one that comes supplied with Eclipse.

在对一个合适的“待办事项列表”应用程序进行了广泛的搜索之后,我选择了mylyn - 这是Eclipse提供的。

It is easy to create and manage tasks. Tasks can be imported and linked to Bugzilla or a number of other different task repositories. It also has a "task context" which enables files that are relevant to a task to be highlighted and those that are irrelevant to be hidden (which is far more useful than I anticipated it would be).

创建和管理任务很容易。可以导入任务并将其链接到Bugzilla或许多其他不同的任务存储库。它还有一个“任务上下文”,它可以突出显示与任务相关的文件和隐藏不相关的文件(这比我预期的要有用得多)。

#20


Eclipse tracks your TODO and list them in a proper windows automatically. I find it powerful enough if you don't need advanced features.

Eclipse会跟踪您的TODO并自动将它们列在适当的窗口中。如果你不需要高级功能,我发现它足够强大。

#21


I'm quite fond of tracks. It has the flavour of GTD without getting too regimented about it.

我非常喜欢曲目。它具有GTD的味道,而不会过于严格。

I can quickly whack stuff in there as I think of it, and then not have to worry about forgetting after that.

当我想到它时,我可以快速打击那里的东西,然后不必担心在那之后遗忘。

#22


Wow, I just had this question yesterday. After some searching, I settled on the ReminderFox Firefox extension. It's completely integrated into the browser and has pop ups to remind you every time you open your browser when a task is due.

哇,我昨天刚收到这个问题。经过一番搜索,我决定使用ReminderFox Firefox扩展。它完全集成到浏览器中,并且每当您在任务到期时打开浏览器时都会弹出窗口提醒您。

#23


I like Mylyn a lot: integrated into Eclipse, works with many trackers as well as without (local tasks) and realizes new concepts like the focused UI.

我非常喜欢Mylyn:集成到Eclipse中,可以与许多跟踪器一起使用,也可以不使用(本地任务),并实现像重点UI这样的新概念。

#24


There is also Task Scanner Plugin for Hudson (in case it fits in your environment). With that you can track number of TODOs/FIXMEs on your continuous integration build reports.

还有Hudson的Task Scanner插件(如果它适合您的环境)。有了它,您可以在持续集成构建报告中跟踪TODO / FIXME的数量。

#25


alt text http://www.86th.org/hudson.jpg We use the "Open Tasks Trend" feature in Hudson, this works for a slew of languages. For our C# project we have 3 levels of tasks and this is accomplished by different TODO: style comments.

alt text http://www.86th.org/hudson.jpg我们使用Hudson中的“Open Tasks Trend”功能,这适用于大量语言。对于我们的C#项目,我们有3个级别的任务,这是通过不同的TODO:样式注释完成的。

  • High Priority Matches on FIXME:, HARDCODED: or HACK:

    FIXME上的高优先级匹配:,HARDCODED:或HACK:

  • Medium Priority Matches on TODO:

    TODO的中优先级匹配:

  • Low Priority Matches on MEH: or CODEREVIEW:

    MEH上的低优先级匹配:或CODEREVIEW:

Hudson will then take this list and trend graph it as shown in the picture, as well as have a sortable, filterable list of the tasks and it will display the messages on the web page with links that will take you right to the line in the source code on Hudson.

然后Hudson会将此列表和趋势图显示在图片中,并且有一个可排序的,可过滤的任务列表,它将在网页上显示带有链接的消息,这些链接将带您直接进入Hudson上的源代码。

Plus we can easily setup points of interest for code reviews with CODEREVIEW: and have a nice concise list to print out.

此外,我们可以使用CODEREVIEW轻松设置代码评论的兴趣点:并且有一个很好的简明列表可以打印出来。

#26


I use Sandglaz and place my todos in 3 columns now, next and later (a little like their blog, but only one row)...and its easy and fast to use. I'm a freelancer so I work on several projects at a time so it works for me

我现在使用Sandglaz并将我的待办事项放在3列,下一次和稍后(有点像他们的博客,但只有一行)...并且它易于使用且快速。我是一名*职业者,所以我一次只做几个项目,所以它对我有用

I use pending tests only to remind myself to write tests. I use Rspec, so it has that build it.

我使用挂起测试只是为了提醒自己编写测试。我使用Rspec,所以它有它的构建。

#27


For C++ projects (native/ATL):

对于C ++项目(native / ATL):

#ifndef _TODO_H_
#define _TODO_H_
#pragma once

// from atldef.h:
#ifndef _ATL_STRINGIZE
#define __ATL_STRINGIZE(_Value) #_Value
#define _ATL_STRINGIZE(_Value) __ATL_STRINGIZE(_Value)
#endif

// put x in quotes, no need to use #pragma!
#define __TODO(x)           __pragma(message(__FILE__"("_ATL_STRINGIZE(__LINE__)") : TODO: "x)) 
#define __WTF(x)            __pragma(message(__FILE__"("_ATL_STRINGIZE(__LINE__)") : WTF?! "x)) 
// prefer to use ISO-formatted date
#define __BUGFIX(date, x)   __pragma(message(__FILE__"("_ATL_STRINGIZE(__LINE__)") : BUGFIX: "#date" "x)) 
#define __CHANGE(date, x)   __pragma(message(__FILE__"("_ATL_STRINGIZE(__LINE__)") : CHANGE: "#date" "x)) 

#endif _TODO_H_

Looking for something like that for C#.

为C#寻找类似的东西。

#28


doxygen can track such issues

doxygen可以跟踪这些问题

#29


One of our source code modules is absolutely littered with inline #pragma todo lines. The build output is polluted so we never can really tell when there are any new compiler warnings. Some of the todos have been there for years and the original developer has long since left the company.

我们的一个源代码模块绝对散落着内联#pragma todo行。构建输出受到污染,所以我们永远无法确定何时有新的编译器警告。一些待机已存在多年,原始开发商早已离开公司。

#30


When I have many many todos I discovered that it is useless to track them. You end up with hundreds of todos that can't be done.

当我有很多很多东西时,我发现跟踪它们是没用的。你最终会得到数百个无法完成的待办事项。

Only write what you are asked (boss ) and do what bring the biggest benefits everyday.

只写你所问的(老板)并做每天带来最大好处的事情。

I however have a next list. I wrote what I'm currently doing at the top and things I need to fix to complete it. My next list can be done in hours or days usually.

但是我有下一个清单。我写了我目前在顶部做的事情和我需要修复的事情来完成它。我的下一个清单通常可以在几小时或几天内完成。