A collection of characters, stories, and other elements
We’re excited to announce more improvements to the Sourcegraph Chrome extension. More than 10,000 developers use it to browse and search code on GitHub with the power of an IDE.
In addition to the new features described below, the core functionality is faster and smoother: whenever you’re viewing a file or reviewing a pull request, you can hover over code to see type signatures and documentation in a tooltip. Clicking will anchor the tooltip and let you jump to a definition, find references, or initiate a full-text search.
Our extension now provides fast, multi-repository grep search with regular expressions. Just select any code inside a GitHub repository and use the Sourcegraph tooltip to execute a search. Search results for supported languages have code intelligence, and every result file has inline authorship and blame information.
If you prefer to stay on GitHub when you search, check “Add Sourcegraph search to GitHub search menu” in the options panel (which you open by clicking the extension’s icon). To search, just use the normal GitHub search field.
In supported languages, you can go to the definition of a symbol. You can even jump to a definition across repositories.
You can also see all callers of a function, property accesses, etc., just like in a powerful IDE.
By clicking the “Sourcegraph” button on a repository homepage or while viewing a file, you can now jump to Sourcegraph. (Many users asked for this because going to Sourcegraph is the first thing they do when they get to a repository on GitHub!)
Install the Sourcegraph browser extension for Chrome or Firefox. If you’ve already installed it, your browser will automatically update the extension, so you’ll already have these new features.
Feedback or questions? Tweet us @sourcegraph.
(If your company’s code is on GitHub Enterprise or some other code host, connect the browser extension to a self-hosted Sourcegraph instance. The browser extension is also available for Firefox.)