Friday, July 6, 2007

Code search on the Web

When I need to search a code in the web, I usually used Google web search or Google Code Search.

Yesterday I found a great code search engine - Krugle.

Krugle has great AJAX interface, tabs that allow you to open more search results in the same page, syntax highlighting and an easy way to browse within a project directory. Krugle also has a search engine for tech articles and documentations.

Another great utility from Krugle is that you can search on specific code features such as function calls, function definitions, class definitions and comments.

However, Krugle's disadvantage (when compare it with Google Code Search) is that Krugle has a less comprehensive index and doesn't support regular expressions for queries.

Technorati Tags: Tags:

1 comment:

Steve said...


Thanks for checking us out and I'm glad you like so many things about us. As it relates to you comment of us being less comprehensive, I'm not sure how to respond. We currently have 2.3+ Billion lines of code - without project duplicates. It is very hard to do accurate apples to apples measurements of code index size but we feel our 2.3+Billion lines represents the most comprehensive public code search index available.

As it relates to regular expression queries, you are right that it is useful particularly if you already know what you are searching for.

We think developers using Krugle to find, fix and learn about code, find our approach simpler than Regex and perhaps, more productive.

Again, thanks for taking the time to write about us.

Steve Larsen
Co-founder and CEO