Phabricator integration with Sourcegraph

You can use Sourcegraph with Phabricator.

Feature Supported?
Repository syncing and mirroring
Repository association
Repository permissions
User authentication
Browser extension
Native extension

Repository association

Site admins can associate Phabricator repositories with Sourcegraph.

Browser extension

The Sourcegraph browser extension supports Phabricator. When installed in your web browser, it adds hover tooltips, go-to-definition, find-references, and code search to files and diffs viewed on Phabricator.

  1. Install the Sourcegraph browser extension.
  2. Configure the browser extension to use your Sourcegraph instance.
  3. To allow the browser extension to work on your Phabricator instance:
    • Navigate to any page on Phabricator.
    • Right-click the Sourcegraph icon in the browser extension toolbar.
    • Click "Enable Sourcegraph on this domain".
    • Click "Allow" in the permissions request popup.
  4. Visit any file or diff on Phabricator. Hover over code or click the "View file" and "View repository" buttons.