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.
Brian Young · Aug 2, 2015 at 09:05 pm · 2 comments

Galaxy S6 & Edge get €100 Price Cut—New Models Incoming

Samsung has dropped the price of both the Galaxy S6 and S6 Edge by €100, making the current retail price of these phones €599 and €699, respectively. Though no new prices have been announced stateside, a cut is expected soon. (more…)

XDA NEWS
Mario Tomás Serrafero · Aug 2, 2015 at 11:33 am · 1 comment

Sunday Debate: How Can We Get a No-Compromise Phone?

Join us in a fun Sunday Debate on Compromises. Come with your opinions and feel free to read some of our thoughts, then pick your side or play devil’s advocate to get your voice heard and engage in friendly discussion. You can read our food-for-thought or jump straight into the fray below!     Getting an upgrade is a big deal to us power users: it’s our little Android Christmas, where after a long time (for plenty of us, at least)...

XDA NEWS
Mario Tomás Serrafero · Aug 1, 2015 at 03:54 pm · 3 comments

PSA: You Can Optimize Your Note 4’s Recents Menu & RAM

The Note 4 never had the fastest Recents Menu, and despite its 3GB of RAM, its app-holding capabilities only got worse on Lollipop. The infamous RAM bug that plagued the S6 is indeed an annoyance on the Note 4's 5.0.X ROMs. Rumors of an update to fix all of this were confirmed with the first reports of the 5.1.1 update for the Russian Note 4, which seemingly improved the Recents Menu and RAM management. But it'll be a long time...

XDA NEWS