When setting up your development environment, you’ll already have:
Now publish your extension by running:
src extensions publish
At this point, your extension has been built and sent to Sourcegraph. The output will include a link to a detail page where you can enable your extension and start using it.
Any user can publish to the Sourcegraph.com extension registry, all Sourcegraph instances can use extensions from Sourcegraph.com, and all Sourcegraph.com extensions are visible to everyone. If you need to publish an extension privately, use a private extension registry on your own self-hosted Sourcegraph instance.
An extension with no published releases, or whose
package.json extension manifest has a
"wip": true property, is considered a work-in-progress (WIP) extension. WIP extensions:
You can use WIP extensions for testing in-development extensions, as well as new versions of an existing extension.
Don’t forget to delete your WIP extension when it’s no longer needed (in the Manage tab on the extension’s registry page). We reserve the right to periodically purge WIP extensions that are not in use, to avoid user confusion (to re-add an extension, just republish it, or contact us to restore it).