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
8
votes
5 answers

Why is Pycharm not highlighting TODO's?

In my settings, I have the TODO bound to highlight in yellow, yet in the actual code it does not highlight. Here is a screenshot of my settings: Editor -> TODO Does anyone know how to fix this? EDIT: I even tried re-installing Pycharm and I still…
nernac
  • 175
  • 2
  • 9
8
votes
2 answers

Use git to list TODOs in code sorted by date introduced

I would like to display a list of all TODOs I have in my code, but sorted by using the history (Git) and showing the most recent first. Kind of like the result displayed here: git – order commits introducing "TODO"s by date But showing the lines of…
Gui13
  • 12,993
  • 17
  • 57
  • 104
8
votes
2 answers

Visual studio TODO comment in xml file to task list

Is it possible to put TODO comments from xml files included in project to Task list in Visual Studio 2013? We are using a lot of XML files and it would be handy to use TODO, HACK or other keywords for Task list.
8
votes
2 answers

Getting Doxygen and MSVC TODO tags to work together

In doxygen, the standard "/// \todo stuff" is used to tag a todo item. I do most of my coding in MSVC so it's handy to be able to see the TODO's in the Task List. MSVC uses "//TODO stuff" for their tags. Is there any way to make them work…
shadowland
  • 757
  • 1
  • 6
  • 20
8
votes
1 answer

Change color of Eclipse todo only - not whole comment

I found out how to change the color of the todo tag in eclipse (window->preferences->general->editors->text editors->annotations->tasks) but this changes it so that when I write //TODO the entire line is affected. Is it possible so make it so that…
David says Reinstate Monica
  • 19,209
  • 22
  • 79
  • 122
7
votes
8 answers

SVN + PROJECT MANAGEMENT + WIKI + TODO LIST

Let's say I have web hosting account on linux on which i wish to host a svn server with wiki, project management to do lists, bugs, etc. Can you recommend me such a tool(which has all of those - if is possible ) or do I have to put them…
Duncan Benoit
  • 3,297
  • 8
  • 29
  • 26
7
votes
2 answers

Why don't I see my TODOs for my PHP files in Eclipse?

Why don't I see my TODOs for my PHP files in Eclipse? I ran into this issue in PDT, I just wanted to put the answer up in case someone else did too.
Resist Design
  • 4,462
  • 3
  • 22
  • 35
7
votes
2 answers

todo tags not working on eclipse and pydev

I'm using eclipse 3.7.0 on fedora and pydev 2.2.2 I tried to use the todo tags but it doesnt work. the todo tags on window > preferences looks fine. i can add a using left click beside the line. please advice
DoronS
  • 347
  • 1
  • 6
  • 12
7
votes
4 answers

Is there an easy way to View, Edit & Locally store a .txt file through Chrome

This isn't necessarily a coding problem, but users here would be the perfect people to ask. Is there an easy way to view and edit a simple text file (.txt seems the most obvious) on a browser (I use Chrome). I'd like this file to be stored locally…
Nikhil
  • 79
  • 1
  • 2
7
votes
4 answers

A tasklist tool for matlab

In Visual Studio there is a tool called TaskList, which searches the code for TODO comments, compiles a list of them, and lets you go to a TODO item in the code by clicking on it in the list. Is there an equivalent tool in Matlab? Is there even a…
Dima
  • 38,860
  • 14
  • 75
  • 115
7
votes
1 answer

Show TODO tasks only for pending changes in Visual Studio

The Task List in Visual Studio 2010 will show all the TODO comments in a solution, but is there some way to filter it to only show TODOs for files with pending changes or for files that are open? In other words, I don't want to see everyone else's…
Robert Corvus
  • 2,054
  • 23
  • 30
7
votes
19 answers

How to mark some code that must be removed before production?

Sometimes for testing/developing purposes we make some changes in the code that must be removed in a production build. I wonder if there is an easy way of marking such blocks so that production build would fail as long as they are present or at…
serg
  • 109,619
  • 77
  • 317
  • 330
6
votes
2 answers

Visual C++ TODO Task List not showing elements

The // TODO comments and other custom defined are not showing up in task list in Visual Studio 2010 (Ultimate, x64, sp1) even activating the option in configuration, as is told in that post: Visual Studio TODO / Task List not showing up I know that…
Ezio A
  • 125
  • 1
  • 7
6
votes
2 answers

Storing org-mode TODOs inside source code

I like keeping TODOs inside my source code next to lines that need updating. Can I include these in Org-mode's agenda?
Natan Yellin
  • 6,063
  • 5
  • 38
  • 57
6
votes
1 answer

How to move TODO Tree (Visual Studio Code) Extension from the Activity Bar to the Explorer Bar?

It is very distracting and unproductive to me, to go through the following everytime I create a TODO Tree note: create note and save leave Explorer bar enter Activity bar click on TODO Tree just to view notes. On YouTube I've seen where someone…