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
0
votes
0 answers

TODO markers disappeared in Visual Studio 2019 Enterprise

I used to see markers on the left column(not sure about the name, it is the area where the debug breakpoints are marked with red dots) for the lines containing // TODO. Somehow this has disappeared. How can I get this feature back? Edit: I am…
Vectorizer
  • 1,076
  • 9
  • 24
0
votes
0 answers

How to fetch all FIXMEs within JUnit test?

I am locking for a simple way to fetch all FIXMEs inside my source code within a JUnit test. If this list contains entries the test shell fail and print out all collected FIXMEs. The source code is written in Java and contains many 10,000 classes. I…
Szdnez
  • 39
  • 3
0
votes
0 answers

Is it possible to output ONLY global TODO list in doxygen?

Is there an option to avoid outputting the TODO list in each class, so that the class documentation is not cluttered with these items. At the same time, I would like to preserve the global TODO list.
NameRakes
  • 463
  • 6
  • 12
0
votes
1 answer

Regex for TODO keyword when passing through a list of directories to get a list of files with TODO keyword (eg. //TODO) but not as variable / string

I'm trying to write an application that looks through a directory and flag out all files (be it in directory or subdirectories) that has the TODO keyword (the one that flashes/highlights in color whenever we code in our code editor [i am using…
isachan
  • 11
  • 3
0
votes
1 answer

Loading fic-mode in emacs

This answer gave me the solution I needed. The only problem for me, is that I have to load it, namely fic-mode, manually. More explicitly, whenever I open a c++ file, I have to do M-x fic-mode and then M-x font-lock-fontify-buffer in order to have…
Dror
  • 12,174
  • 21
  • 90
  • 160
0
votes
1 answer

PhpStorm ToDo's not working on Mac OSX 10.15

I cannot get PhpStorm 2020 to see the todo's. I even tried changing the regex but that did not work. Does anyone know how to to fix this? I am using a mac with OSX 10.15.
Jamie Ross
  • 246
  • 1
  • 3
  • 13
0
votes
1 answer

Keymap option missing Next TODO

I'm trying to add a keybinding for Next TODO I see this option in two places: Alt6 TODO section / down arrow on the left CtrlShiftA actions menu (search "next todo") What I'm trying to do is to add a keymap under keymap section, but as you can see…
T04435
  • 12,507
  • 5
  • 54
  • 54
0
votes
1 answer

Exclude TODO from specific files in Netbeans

Is there a way to filter out or ignore the TODOs coming from specific files? My todo list is overrun with todos coming from libraries rather than my own code. Since the libraries are included in my project, filtering by project doesn't solve the…
Sylverdrag
  • 8,898
  • 5
  • 37
  • 54
0
votes
2 answers

Switching to Emacs from Textmate and can't figure out how to autocreate a TODO/FIXE list from source files

I am making the switch to emacs from Textmate and really want to find an easy way to find all the TODOs and FIXMEs in my Rails projects. In Textmate there is a TODO bundle. In Vim there is the tasklist. What is the equivalent in emacs? Is this…
Bob
  • 1
0
votes
1 answer

How to fail Maven build if code contains any TODOs

We add TODOs to our code whenever there is a dependency from another team member. Then we slowly resolve all TODOs until our code works. How can I make our build fail when there are any unresolved TODOs ?
Jed Cua
  • 251
  • 2
  • 11
0
votes
1 answer

Eclipse: TODO's not in source files

Is it possible to view TODO's in non-source files in the task view? For example I have a README in my project where I had described some problems and have marked them with TODO. I hoped they will be visible in the task view, but they are not. Any…
Rainer
  • 51
  • 5
0
votes
1 answer

PhpStorm TODO feature in opened remote file

TODO list not displayed for opened remote file. Only for local. How to fix it?
0
votes
3 answers

How do I mark and label "To-Do"s?

How do I clearly mark and label "To-Do"s directly in my code (using Atom on Mac) for later?
JBallin
  • 8,481
  • 4
  • 46
  • 51
0
votes
1 answer

How to set up TODO comment autocomplete

Can someone explain the pattern at todo optional tab in intellij for example :if i type "todo" then I want the "todo" tag should output: //todo this is your code here what should I do?
0
votes
1 answer

How to remove tasks (TODO) from R.java

I configure my task lists to be shown by some standard words (TODO, FIXme...). Now I see some task in my project R.java. It's an auto-generated file and I do not see any option to exclude this file from tasks: ... public static int…
Yura Shinkarev
  • 5,134
  • 7
  • 34
  • 57