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
36
votes
4 answers

TODO comments in rStudio

is there a way to list ToDo comments in rstudio? Before I used eclipse and really loved to put some # TODO I definitely need more unit tests here! comments in my source code. I could not find this feature in rStudio so far and I was wondering, if…
drmariod
  • 11,106
  • 16
  • 64
  • 110
35
votes
3 answers

Custom TODO mark in Eclipse

In a Eclipse a // TODO comment in a Java file marks an area in code as a task for later consideration. Is there a way to add other expressions that will do the same? For example if I want to use // myprojectname.
richs
  • 4,699
  • 10
  • 43
  • 56
32
votes
1 answer

Manage #TODO (lots of files) with VIM

I use VIM/GVIM to develop my python projects and I randomly I leave #TODO comments in my code. Is there any way to manage (search, list and link) all the #TODO occurrences inside VIM? I tried the tasklist plugin, it's almost what I need, but it…
Magnun Leno
  • 2,728
  • 20
  • 29
31
votes
5 answers

How to show more than 100 tasks //TODOs at once in Eclipse?

As the title says, how do I display more than 100 tasks at once in Tasks window in Eclipse? Alternatively, how do I browse tasks past 100? I have a lot of .c files in my project with many //TODOs When I go to Tasks window, it shows: Filter matched…
Sint
  • 1,580
  • 3
  • 21
  • 38
29
votes
1 answer

Can Doxygen easily be configured to recognise TODO and FIXME lines?

I've just installed and setup an instance of Doxygen, but out of the box it only finds TODO tags in code when marked in a block like: /** * @todo Foo */ It doesn't seem to find: // TODO Foo // FIXME Bar // @todo Baz Most IDE's and bug trackers…
Iain Collins
  • 6,774
  • 3
  • 43
  • 43
29
votes
4 answers

Eclipse: How to get TODOs from SQL and XML files in tasks

In Java files I can write TODO comments and they show up in the Tasks window. // TODO: Do something about this However, when I write TODO comments in for example SQL scripts and XML files, they don't show up. Is there a way I can get them to do…
Svish
  • 152,914
  • 173
  • 462
  • 620
28
votes
4 answers

Xcode: View all TODO's in project

Is there a way to view all TODO marks in an Xcode project? I'm aware of how to do this in a file through the function drop down but wasn't sure how to see all in a project.
Marcus Leon
  • 55,199
  • 118
  • 297
  • 429
27
votes
2 answers

Can Qt Creator recognize TODO and FIXME comments?

Is there a way to make Qt Creator recognize TODO and FIXME comments, so that I can access a compiled list somewhere of all these comments?
a06e
  • 18,594
  • 33
  • 93
  • 169
26
votes
3 answers

Is there a way to mark TODO complete in Android studio?

I'm trying to track TODOs in Android studio. Is there a way to mark them 'complete' without simply deleting them?
NonCreature0714
  • 5,744
  • 10
  • 30
  • 52
26
votes
5 answers

How to list all my current TODO messages in a git repository?

I want to see all TODO comments that only I wrote and that exist in the current code base that is git managed. What I've got so far is printing all TODO comments that I've ever created or modified during the complete git history: git log -p…
Lars Blumberg
  • 19,326
  • 11
  • 90
  • 127
26
votes
6 answers

Netbeans (7.4): Is there a way to highlight TODO's?

I have switched from Eclipse to Netbeans. Eclipse has a way too highlighting TODO's in Java comments like: public void test(String str) { // TODO: check if str is null! ... ... } In Eclipse I could change the editor configuration so that the…
Steffen
  • 2,500
  • 4
  • 31
  • 47
26
votes
1 answer

How to make IntelliJ know FIXME?

In IntelliJ 12, the FIXME comment is regarded as a normal comment with typo. How to make it known by IntelliJ IDEA just like TODO comment?
chance
  • 6,307
  • 13
  • 46
  • 70
25
votes
2 answers

How do I format a multi-line TODO comment in PyCharm?

I want to add a multi-line TODO comment to my PyCharm project. # TODO: Multiple errors can be wrapped inside an exception. # WfcApiException should do recursive error checking to locate # and store an arbitrary number of nested…
Stevoisiak
  • 23,794
  • 27
  • 122
  • 225
23
votes
7 answers

Multi-line TODO: Comments in Eclipse

Fairly straight forward question here. Has anyone figured out how to do a TODO: comment in Eclipse that spans multiple lines? I cannot for the life of me get it to work.
Will Madison
  • 3,065
  • 2
  • 22
  • 19
23
votes
1 answer

How to use TODO tags in org-mode without defining headings?

When I'm writing down a few notes in org-mode : note 1 note 2 note 3 And then want to make 'note 2' a TODO item, I need to turn it into a headline, as such : note 1 * TODO note 2 note 3 But now, 'note 3' belongs to the 'note 2' headline. The only…
user1323995
  • 1,286
  • 1
  • 10
  • 16
1
2
3
14 15