Written by Quinn Slack
Code navigation helps you review code in GitHub pull requests more quickly and effectively.
Here's what it looks like:
How does it help? Suppose you're reviewing a pull request that calls a function you don't recognize. You'll be able to quickly answer:
You'll need to use Sourcegraph because GitHub's code navigation doesn't work in pull requests. GitHub has no public plans to add support, but if it does, switching should be easy because Sourcegraph's underlying code intelligence for 20+ languages is open source, uses open standards (including Microsoft's LSP and LSIF), and is vendor neutral.
Visit a pull request in any public repository, such as:
Next, run a Sourcegraph server yourself to use code navigation for your organization's private code (without sending any code to Sourcegraph).
docker runquickstart guide and add a GitHub external service with your private repositories.
http://localhost:7080(the URL of your Sourcegraph instance).
Visit a code file or pull request in a GitHub private repository.
That's it! Now deploy Sourcegraph for your team so everyone at your organization can use it.