Sourcegraph provides a public searchable index of open source projects and also provides code search as a service for private repositories. The API is available through a src CLI which makes it a good fit for an Imp suggest handler. It would search context:global by default and could be configured to restrict to a set of open source repositories or credentials to use a private instance.
Sourcegraph provides a public searchable index of open source projects and also provides code search as a service for private repositories. The API is available through a
srcCLI which makes it a good fit for an Imp suggest handler. It would searchcontext:globalby default and could be configured to restrict to a set of open source repositories or credentials to use a private instance.