Browse & review code on GitHub like in an IDE, with the Sourcegraph Chrome extension

John Rothfels
May 30, 2016

Wouldn't it be awesome if you could review, browse, and search code on GitHub as though you were in an IDE, with jump-to-definition, doc tooltips, and cross-references? We think so. That’s why we built the Sourcegraph Chrome extension for GitHub.

Update (June 22, 2016): Added support for pull requests and diffs.

[Install Chrome extension for GitHub.] (https://docs.sourcegraph.com/integration/browser_extension) And don’t let your team review any code until they get it, too!For Go, Java, TypeScript, and JavaScript only; more languages coming soon!

The Sourcegraph Chrome extension keeps you in flow while coding, with:

  1. Go-to-definition: When you’re browsing files or reviewing pull requests on GitHub, you can use the extension to click on anything in your code to jump to its definition, or hover to get documentation tooltips.
  2. Find usages: See examples of how a function or type is used across your company’s code as well as open source repositories on GitHub.
1*DZhwRJxGyZF7T1G0m--lfA
1*w6mfztdGBQ7Cu--tX92JdA

It’s totally free. See what other devs are saying about it:

Learning a new code base using @sourcegraph is extra dope! https://t.co/MKbac0RB0B pic.twitter.com/6YWeYyyYZo— Kelsey Hightower (@kelseyhightower) October 26, 2016
Used @sourcegraph jump-to-definition across 3 projects, 2 langs, finally landing deep in Golang src. Took < 10 min to pin down the issue. 💪🏼— Gabe Monroy (@gabrtv) June 3, 2016
"Do you use source graph?" My multi-times a day question for when I talk to people about @github projects. #devBetter @sourcegraph— chase adams (@chaseadamsio) September 9, 2016

Install the Sourcegraph Chrome extension

Update (June 22, 2016): Added support for pull requests and diffs.