Questions tagged [todo]

TODO is often used in code comments to indicate a task that needs to be done. IDEs often highlight them. Please do not use this for questions about creating todo list applications.

TODOs are source-code comments, stating that something still needs to be done in that particular section of the program.

Different syntaxes are used for different languages. A typical C-style example would be:

// TODO: Fix this

It has been debated whether todo comments are to be considered good or bad practice.

Most IDEs have the facility of highlighting TODOs and/or displaying them in a separate view.

224 questions
4
votes
1 answer

TODO items not showing up in Visual Studio Express 2012

The TODO list items aren't showing up in Visual Studio Express 2012 for C++. Why are the TODO list items not showing up? This question has been asked before, but none of the answers have resolved my issue. I have done the following: What I have…
PhaZ90771
  • 391
  • 1
  • 3
  • 9
4
votes
2 answers

Is there a good outliner/note-taking alternative to emacs org-mode (with images)?

Org-mode from Emacs is awesome to scribble down project notes and also maintain a todo list where you can quickly move things around (up/down, indentation etc.). However, especially when it comes to images, the emacs is rather limited (since it's a…
Jan
  • 103
  • 1
  • 7
4
votes
1 answer

Does TODO work in NetBeans for C++?

I hope this isn't a tedious question as it has a lot of variations here, but none of the existing questions seem to quite fit my scenario. Google hasn't saved me yet either. I'm using netbeans to develop a C++ project. The Action Items window is…
jlsecrest
  • 537
  • 1
  • 5
  • 15
4
votes
2 answers

How do I get my Android TODOs to show up in Tasks in Eclipse?

I have // TODO throughout my .java files and they are detected and labeled as tasks but they are not listed in the Tasks list. How can I make them show up in the Tasks list? It would make it so much easier to jump from task to task if they were…
Robert Louis Murphy
  • 1,558
  • 1
  • 16
  • 29
3
votes
1 answer

Limit the task list by filtering by directory in Netbeans 7.1

I am looking to filter the visible tasks by directory so that I don't get all the @todos from external libraries. But It's not quite working how I expected. Below is an example of what I have tried.
gawpertron
  • 1,867
  • 3
  • 21
  • 37
3
votes
1 answer

Applescript - How to get each line of clipboard delimited by newline and perform an action with each line?

I am trying to modify an applescript that takes a text file, and creates a new todo with each line of the text file: set myFile to (choose file with prompt "Select a file to read:") open for access myFile set fileContents to read myFile using…
waffl
  • 5,179
  • 10
  • 73
  • 123
3
votes
3 answers

How to scan a project for "@todo" source code comments

Is there any way to scan a codebase for any TODO's and generate a list that can be displayed on a standard web page. E.g. @todo Deprecated function remove......... (functions.php [Line 12]) This needs to work on a local WAMP server.
James Bell
  • 604
  • 1
  • 7
  • 18
3
votes
1 answer

How to change body of function TODO() generated on Kotlin?

I need leave something to do later on my code and TODO() auto generated produces a very long comment like follow TODO("not implemented") //To change body of created functions use File | Settings | File Templates. The above line tell me to go to…
Abner Escócio
  • 2,697
  • 2
  • 17
  • 36
3
votes
7 answers

Retrieve "TODO" lines from a text file

I'm editing a project in GEdit (text editor). When I type TODO it highlights it yellow for future reference. I have quite a few of these TODOs around the place. To make it clearer what I need to do, can anyone show me a way to extract any TODO lines…
Bojangles
  • 99,427
  • 50
  • 170
  • 208
3
votes
2 answers

IntelliJ sorting todo items

How can I find and sort TODO items alphabetically, like in Eclipse? I can't use the file-search function since I need to find only comments and not strings and literals. With the current mixture of source files/templates/scripts, TODOs already…
Mark Jeronimus
  • 9,278
  • 3
  • 37
  • 50
3
votes
7 answers

Super simple to use (hand holding) project management software?

Currently 2 person programming team, with a project manager whom doesn't have any experience in Project management. So really need something very simple, that will hold the hand of a project manager. Far more important than features is ease of use.…
Ashley Coolman
  • 11,095
  • 5
  • 59
  • 81
3
votes
2 answers

Multiple @todo in phpDoc

I have multiple todo items I want to add for a function. What is the correct way to add them in a phpDoc comment block? I understand that I should use the @todo tag. But I am unsure of whether I should use a single @todo tag per item, or one @todo…
accord_guy
  • 314
  • 2
  • 11
3
votes
2 answers

Textmate, How do I limit the folders TODO bundle searches when it launches?

I like the TODO bundle in textmate. When I launch it however, it searches what seems like my entire drive. Is there a way I can tell it to just search, for example, my projects folder? Or better yet, the folder of the project that is currently…
francob411
  • 103
  • 6
3
votes
1 answer

TodoReview in sublime 3 does not find TODOs

I installed TodoReview for sublime 3 but I can't get it to catch my TODO statements. I'm coding in python and insert a TODO above a statement like this, # TODO print "This is just an example, I also tried varying number of hashes and cases, and…
Kirbies
  • 777
  • 1
  • 10
  • 17
3
votes
1 answer

How to escape the word "todo"

I have a comment: // ... see "todo" below PhpStorm thinks I have a TODO that says "below". How can I escape it? I prefer an IDE-agnostic solution. Thanks
user2486953