By Quinn Slack on October 4, 2016
Today, we’re announcing a new edition of Sourcegraph that makes it even faster and easier to answer your everyday programming questions. If you code in Go, check it out now. If you use another language, sign up for the beta — we’ll have news for you in the next couple of weeks!
If you’re new to Sourcegraph, you can think of it as an online code browser that feels like your favorite IDE. But instead of your local workspace, we’ve already indexed all the Go code in the world. It makes figuring out how to use libraries and understanding existing code a breeze. Here’s what some well-known members of the Go open-source community are saying:
“Sourcegraph is so intuitive that you soon forget you have it, but so useful that if you use GitHub without it, it just feels like all your favorite features are missing.” — Francesc Campoy, developer advocate on the Go core team
And today, it gets even better.
We’ve listened to the feedback of thousands of developers using Sourcegraph for both open-source and private code. Sourcegraph is now smarter, faster, and re-designed from the ground up to address the most common pains of reading and understanding code. How exactly?
Here’s the whirlwind tour of usability and performance improvements that we’re shipping today.
Jumping to definition used to take a second or longer. Now it feels almost instant, even if the definition lives in another repository. And if you want to view the def without losing your place in the current file, you can sneak a peek:
Mouse-over tooltips are a lot speedier, too. Hover over any token for additional context like type signatures and docs.
If you want to see how something is used, you can quickly find and flip through all references. The interface is quick and clean:
There’s a new quick-launch bar that lets you jump to any symbol or file faster than you can say “global graph of code.” Activate it by clicking “Search” in the upper-right corner or just by typing “/” on any page.
Jump to any symbol or file. Activate it with the “/” hotkey.
The same quick-launch bar lets you jump to any repository, so you can quickly hop across different codebases. This is perfect for teams that version microservices in separate repositories or depend on a lot of open-source libraries.
Jump to any repository. Activate it with the “/” hotkey."
You can sign up and auth your private code or try it out on any of these open-source repositories:
Thank you to all the members of the Go community who’ve supported us along the way with feedback, bug reports, and word-of-mouth evangelism.
Whether you’re new to Sourcegraph or are among the tens of thousands of programmers who already use it, this new edition will let you spend less time making sense of code and more time writing it. So check it out now and let us know what you think!