andrew.hedges.name / blog
Google Code Search: Dang
October 6, 2006, 10:06 am · 0 comments · Filed under: Google, New Mexico, Widgets
Google Labs has done it again. The company that made it OK to use AJAX now lets programmers search the source code of jillions (that’s a technical term) of software projects. OK, so this probably isn’t news to developers out there, but the reason I’m excited about it is a little more personal.
For kicks and grins, I decided to search for widgetControl, the name of a function I wrote for Sundial. Sure enough, Sundial is the #1 result. Boy howdy! Even cooler is that the way Google found this was by grabbing Sundial from MacUpdate.com and reading the zipped widget bundle. The kicker, though, is that clicking on Sundial.wdgt/LocalResources/Sundial.js takes you right into the source code.

Screenshot of Google Code Search
You can then browse up the directory tree and into any of the files in the bundle. Sweet! Oh, and a nice touch is that when looking at the source code, you can step through the instances of the search term by hitting “n” on your keyboard.
Forget the implications for software development; this opens up a whole new avenue for ego-surfing…
This entry was first published on The Loop, the blog of my former employer, Clearwired Web Services.
Short URL to this article:
Tweet this article!
Comments close automatically after 15 days.
Still have something to say? Drop me a line!