Extract TODO, FIXME, HACK and seven more markers with their author, ticket and date — from comments only, so a string containing TODO is not counted.
Waiting for some code
Paste a file. Markers are read from comments only, never from strings or code.
Markers come from comments only. A string containing the word TODO — a test fixture, a user-facing message, the marker list inside a tool like this one — is not a marker, and a grep over the whole file reports its own vocabulary back at you.
Paste a file to pull out every marker in its comments.
Markers are not equivalent and are not counted as one number: a FIXME is a known defect, a TODO is an intention, and a HACK is a decision somebody already regretted. “Forty-three TODOs” says nothing useful; three FIXMEs and a BUG is a list of work.
TODO and FIXME Extractor runs entirely on your device — your code is read as text in your browser, is never executed, and is never uploaded.
You’re on the Free plan. Compare plans
Markers are read from comments only, which is the whole difficulty. A string containing the word TODO — a test fixture, a user-facing message, a list of marker names in a tool like this one — is not a marker. A grep over the whole file reports its own vocabulary back at you, and this strips strings and code before looking.
The markers are not equivalent, so they are not counted as one number. A FIXME is a known defect. A TODO is an intention. A HACK is a decision somebody already regretted. "Forty-three TODOs" tells you nothing; three FIXMEs and a BUG is a list of work.
The author, ticket and date are extracted where they were written, because a marker with none of the three is unactionable: nobody knows who meant it, what it refers to, or whether it has been true for four years. Grouping by author exists to make that visible rather than to assign blame — markers attached to somebody who left are the ones that will never be resolved.
Because a string containing the word TODO is not a marker. Test fixtures, user-facing messages and the marker list inside a tool like this one all contain it, and a grep over the whole file reports its own vocabulary back at you as findings.
Because the markers mean different things. A FIXME is a known defect that belongs in the tracker. A TODO is an intention. A HACK is a decision somebody already regretted and should probably be documented. One number across all of them is not a number about anything.
Having no author, no ticket and no date. Nobody knows who meant it, what it refers to, or whether it has been true for four years — so nobody can resolve it, and it stays in the file indefinitely.
TODO, FIXME, HACK, XXX, BUG, NOTE, OPTIMIZE, REVIEW, DEPRECATED and WORKAROUND, with any author, ticket reference or date written alongside them.
No. It is read as text in your browser and never executed.
If a tool here saved you some time, you can put something towards the hosting.Buy me a coffee, on Ko-fi, opens in a new tab