TODO list bot
Hi
Do you know of any program that can search thought source files for //TODO: strings and add it to a nice html document?
Whenever you se a flaw or anything you don’t like and you don’t have time to fix it at the moment, or if it isent you code then you just but a //TODO: Leadorn this shit is fucked up and continue. It would be a nice program to have.
why don't you write one? you seem to know how to program and it a very challenging program to create.
Well SharpDevelop gives you a nice list (see: view -> task list).
But if you want a tool for it, it's really just a matter of finding any [/][/][\t\s]*TODO[:][^\r\n]* that is not in a string " ", and you can pretty safely assume that there are no multi line strings, which means that you can just search line by line...
But if you want a tool for it, it's really just a matter of finding any [/][/][\t\s]*TODO[:][^\r\n]* that is not in a string " ", and you can pretty safely assume that there are no multi line strings, which means that you can just search line by line...
grep TODO *.c
ph34r m4 l33t c0dx0ring skills
Eclipse also has a built in list for these things, IIRC.
Quote:Original post by Leadorn
Hi
Do you know of any program that can search thought source files for //TODO: strings and add it to a nice html document?
Whenever you se a flaw or anything you don’t like and you don’t have time to fix it at the moment, or if it isent you code then you just but a //TODO: Leadorn this shit is fucked up and continue. It would be a nice program to have.
Sounds like a job for.. grep! You can probably write a simple script that HTMLizes the output for you.
EDIT: Ah, grep was already mentioned..
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement