http://google-code-updates.blogspot.com/2007/07/improvements-to-google-code-search.html
First, we've expanded our crawl to include not just complete archives and repositories, but individual code files and sample code snippets from webpages as well. Now when you search for things like [LFractalCanvas] or [nph-refresh], you'll have a better chance of finding what you want. Second, we've made a few ranking adjustments, such as putting class and function definitions closer to the top for a lot of searches. Lastly, Code Search is now available in domains outside the United States, from my home country of Poland, to Brazil, China, France, Germany, Italy, Japan, Korea, the Netherlands, Russia, and Spain, to name a few. |
Here's a search that finds code snippets embedded on HTML pages only:
http://www.google.com/codesearch?q=file%3A%22.html%22
[Via Chris U.!] |
Funny how the file:".html" also finds statsdawg-0.96/lib/smarty/libs/plugins/function.html_options.php |