Will Verduzco · Nov 11, 2013 at 04:30 am

Create Your Own Todo Webpage from Your Code

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!

Will Verduzco

willverduzco is an editor on XDA-Developers, the largest community for Android users. Will Verduzco is the Portal Administrator for the XDA-Developers Portal. He has been addicted to mobile technology since the HTC Wizard. But starting with the Nexus One, his gadget love affair shifted to Google's little green robot. He is also a Johns Hopkins University graduate in neuroscience and is now currently studying to become a physician. View willverduzco's posts and articles here.
Mario Tomás Serrafero · Jul 4, 2015 at 12:00 pm · 1 comment

XDA Picks: Best Apps of the Week (June 27 – July 4)

Apps are at the front and center of any smartphone experience, and with over a million apps on the Google Play Store and new apps being submitted to our forums every day, staying up to date on the latest apps and games can be a hassle. At XDA we don’t discriminate apps - if it’s interesting, innovative, original or useful, we mention them. The XDA Portal Team loves apps too, and here are our top picks for this week.  ...

XDA NEWS
Mathew Brack · Jul 3, 2015 at 12:00 pm · 3 comments

The Atlas of XDA

A few weeks ago, we asked you "How Does Your Location Affect Your Life As A Power User?". In the days that followed, members from all over the world shared their stories and experiences of life across the globe. Allow me to introduce the true story of what it means to be a power user on this pale blue dot.   Index Africa & Oceania: Australia, Indonesia, Libya, Madagascar, New Zealand, Nigeria, South Africa, Americas: Brazil, Chile, Columbia, Costa Rica, Guatemala, Martinique, United...

XDA NEWS
Mario Tomás Serrafero · Jul 3, 2015 at 11:10 am · 3 comments

New Snapdragons: Some Context & Contrast

It hasn’t been a good year for Qualcomm so far. Every device featuring the Snapdragon 810 has had a less-than-stellar fate, be it because of overheating complaints or actual decreased sales. HTC is in a particularly worrisome situation, and Sony’s Z4 is slipping down Japanese charts just over a week after its release. The G Flex 2, Mi Note Pro and Z3+ all saw complaints as well. Even MediaTek is seemingly getting an advantage over this.   But a particularly...

XDA NEWS
Share This