Brilliant ideas are funny things. Sometimes they refuse to come for weeks on end. Other times, however, they come at you like a flood. Naturally when you’re coding, you don’t have time to add in every brilliant idea all at once. In these instances, it’s customary to add a todo section of commented out code stating what you intend to do once you have the time.
Adding commented out todo code is useful because it helps keep your ideas sorted and in context. However, not every IDE is able to automatically parse out the todo fields from your commented code. Thankfully, XDA Elite Recognized Developer AdamOutler saw this as an opportunity to create a script that generates an automated webpage that stores the parsed todo fields from your code for easy access. Entries are entirely searchable, and clicking on each item takes you to the specific line of code that is referenced. And for fun, Adam has themed the page to look like Google Now’s cards interface.
So what’s the final product? A live todo webpage that looks something like this. In addition to demonstrating with his own code as an example, Adam also shares the script and instructions required to set this up for your code as well.
Make your way over to the original thread to easily parse out your todo code._________
Want something on the XDA Portal? Send us a tip! -- Join us for xda:devcon 2014!