You can use Sourcegraph with GitLab.com and GitLab CE/EE.
|GitLab UI native integration||✅|
Site admins can add GitLab repositories to Sourcegraph.
Site admins can configure Sourcegraph to allow users to sign in via GitLab.
GitLab instances can be configured to show Sourcegraph code intelligence and navigation natively. See the GitLab integration docs for how to enable this on your GitLab instance.
The Sourcegraph browser extension supports GitLab. When installed in your web browser, it adds hover tooltips, go-to-definition, find-references, and code search to files and merge requests viewed on GitLab.
https://sourcegraph.comfor public code from GitLab.com only.