Sourcegraph code search is different from existing code search tools.
Great code search helps you write better code more quickly. It helps you understand, debug, and reuse code. When you have great code search, you use it 5-10+ times per day. It's right up there with your editor and code host.
At Sourcegraph, we think great code search is:
We built Sourcegraph code search to be this great code search for all your company's code.
That’s how we started building code search at Sourcegraph. As a company devoted to improving the developer experience, we got developers to open up about what they love and hate in their current code search tools.
We also drew on Sourcegraphers’ experiences at large tech companies, some with amazing code search and some severely lacking.
No more worrying about stale results.
Code searches often begin and/or end in your editor, code review tool, or team chat app. We built Sourcegraph code search so that it integrates nicely with your existing tools—which means you can stay in flow.
Editor extensions for Visual Studio Code, JetBrains (including Gogland), Sublime Text 3, and Atom are available from Sourcegraph that let you start a search from your editor or copy a shareable URL to your cursor position.
In team chat or other discussions, your teammates can share a Sourcegraph link that points to internal Sourcegraph web app at a specific search query, or a specific repository, revision, file, and selection range.
Integrated Git blame information can link to Phabricator, GitHub, Bitbucket or other tools.
The Sourcegraph web and desktop apps give you shareable URLs to link teammates to your cursor position.
With the Sourcegraph Editor installed, you can jump to your editor from any file you’re viewing on Sourcegraph.
(median 2s, p99 10s)
Multiple clicks away
More advanced code timeline on desktop
(+ selection range)
Varies, not instant
No index needed