How Google uses code search
Google developers use CodeSearch, an internal code search tool. They also run public instances of CodeSearch (with some functionality missing) for the Chromium and Android open-source projects, which anyone can try.
On average, developers compose 12 search queries per weekday (median is 6). Compared to previous literature, it would seem that code search is far more common than it once was.
Code search tools are becoming so entrenched in software development that they are used to navigate even through code developers know well.
Here’s how the study categorized the ways that Google engineers use code search:
[It’s] essential to be able to easily search [the] whole source … huge productivity boost: easy to find uses, defs, examples, etc.
Jeff Dean also helped create Google’s internal code search tool. From his bio:
While at Google, I’ve worked on the following projects: … Some internal tools to make it easy to rapidly search our internal source code repository.