News for hackers. Stuff that matters.

Ask HN: Would anyone be interested in a search engine specifically for code?

I often use google to find source code documentation like method signatures, identifier spellings, or usage notes. This results in:

1) doing a google search 2) selecting the page to go to 3) finding the content on that page.

The goal is to cut the steps down to just a search that returns example method signatures or identifiers matching the search query with the options to click through to the page for more information. It would also be a goal to selectively index well made sites and cull all the junk that google returns.

It's very basic right now and doesn't have a great deal of content indexed, and is not fast, but I'm curious if this would be useful to anyone else, or what other features might make it more useful, or if everyone is just happy using google, or their IDE.

Here are some example queries that the site has results indexed for:

* "python glob"

* "jquery ajax request"

* "c printf"

* "html dt"

The url is http://codeandtools.com.

There are VIM style shortcut keys for navigating results. j/k - up/down, i - expand info section, v - open selected in new tab, / - new search.

I've been using it mostly in Chrome.

Any feedback would be greatly appreciated! Thanks HN!

( 7 comments | 5 points | on HN )
Re:Ask HN: Would anyone be interested in a search engine spe... by drKarl on Sunday January 02, 2011 @06:49PM (#2061516)
Re:Ask HN: Would anyone be interested in a search engine spe... by vitovito on Sunday January 02, 2011 @07:38PM (#2061636)
This and http://koders.com/ (which apparently acquired ohloh.net, which has project search of its own) are the first two hits when you do a Google search for "code search."
Re:Ask HN: Would anyone be interested in a search engine spe... by zpoley on Sunday January 02, 2011 @06:56PM (#2061541)
Interesting, I didn't know about this. Thanks for sharing. It seems to index only code? I would rather search docs than raw code most of the time I think.
Re:Ask HN: Would anyone be interested in a search engine spe... by stephenou on Monday January 03, 2011 @12:31AM (#2062221)
I'd really love Google to accept characters like < or } in their normal search query. Makes it convenient for code snippet search.
Re:Ask HN: Would anyone be interested in a search engine spe... by shadowpwner on Monday January 03, 2011 @02:46AM (#2062519)
Yes! Special characters please.
Re:Ask HN: Would anyone be interested in a search engine spe... by zpoley on Sunday January 02, 2011 @06:47PM (#2061512)
Re:Ask HN: Would anyone be interested in a search engine spe... by mgkimsal on Sunday January 02, 2011 @07:35PM (#2061627)
How does it compare to krugle?