Set up precise code intelligence with Sourcegraph#105
Set up precise code intelligence with Sourcegraph#105chrismwendt wants to merge 1 commit intogoogle:masterfrom
Conversation
|
Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please visit https://cla.developers.google.com/ to sign. Once you've signed (or fixed any issues), please reply here with What to do if you already signed the CLAIndividual signers
Corporate signers
ℹ️ Googlers: Go here for more info. |
|
can you point me to the ToS that govern this service? |
|
|
sorry for the delays. The old TOS for Sourcegraph ruffled some feathers in the past, so I'm trying to unruffle them. |
|
@hanwen Thanks. If we can help unruffle anything, let me know (email works, too: sqs@sourcegraph.com). |
Sourcegraph recently added support for precise code intelligence using LSIF, and we're looking for open source projects (such as Zoekt) to try it out!
With LSIF-based code intelligence and the Sourcegraph browser extension, you'll get hover tooltips on GitHub code views and PRs:
You can try it out on my fork before merging https://sourcegraph.com/github.com/chrismwendt/zoekt/-/blob/cmd/zoekt/main.go#L34:23
Without LSIF, you'll only see the default code intelligence, which is fuzzy and based on ctags + text search (in turn powered by Zoekt!).
All you need to do is:
public_reposcope at https://github.com/settings/tokensPUBLIC_REPO_GITHUB_TOKENwith that tokenEvery commit thereafter will trigger the LSIF action to generate and upload LSIF data for this repository to Sourcegraph.com. Anyone visiting https://sourcegraph.com/github.com/google/zoekt or viewing this repository with the Sourcegraph browser extension will then see precise code intelligence.