Sourcegraph
Featured

Sourcegraph

Connect Sourcegraph to GitHub to open repos, compare revisions, and search code from Chrome's Omnibox.

★★★★☆ 4.5 171 reviews 70K+ users · Developer Tools
Developer Sourcegraph
Install from Chrome Web Store ↗

Description

The Sourcegraph browser extension integrates directly with GitHub to enhance your code browsing and development workflow. By connecting Sourcegraph to your GitHub account, you can open repositories, compare different revisions, and search through code using Chrome's Omnibox, all without leaving your browser. This speeds up navigation and code exploration, making it particularly useful when you need to quickly find a function, review changes between commits, or jump to a specific file in a large project.

Key Features

  • Omnibox Integration: Type commands directly into Chrome's address bar to search code across repositories, open specific files, or compare revisions. For example, you can search for a variable name across all repos or jump to a specific commit hash.
  • GitHub Support (Default): The extension works out of the box with public and private GitHub repositories. No additional configuration is needed for standard GitHub.com usage.
  • GitHub Enterprise Support: If you use GitHub Enterprise, simply click the extension icon and update the "Sourcegraph URL" field to point to your enterprise instance. This allows the extension to work with your organization's private repositories.
  • Private Code Access: To use the extension with private repositories, you need to set up a private Sourcegraph instance and connect it to the extension. This ensures that your proprietary code remains secure while still benefiting from Sourcegraph's code intelligence features.

Whether you're a developer reviewing pull requests, a team lead auditing code changes, or a contributor exploring open source projects, this extension streamlines common tasks like searching for code patterns, comparing file versions, and navigating between repositories. It eliminates the need to switch between tabs or manually construct URLs, saving time and reducing friction in your daily development routine.