Configure VS Code Extension Marketplace

  • Tier: Free, Premium, Ultimate
  • Offering: GitLab Self-Managed

The VS Code Extension Marketplace provides access to extensions that enhance the functionality of the Web IDE and Workspaces. Administrators can configure access to the marketplace for the entire instance.

To access the VS Code Extension Marketplace, your browser must be able to access the .cdn.web-ide.gitlab-static.net assets host. This security requirement ensures that third-party extensions run in isolation and cannot access your account.

Access VS Code Extension Marketplace settings

Prerequisites:

  • You must be an administrator.

To access the VS Code Extension Marketplace settings:

  1. On the left sidebar, at the bottom, select Admin.
  2. Select Settings > General.
  3. Expand VS Code Extension Marketplace.

Enable the extension registry

By default, the GitLab instance is configured to use the Open VSX extension registry. To enable the extension marketplace with this default configuration:

Prerequisites:

  • You must be an administrator.
  1. On the left sidebar, at the bottom, select Admin.
  2. Select Settings > General.
  3. Expand VS Code Extension Marketplace.
  4. Toggle on Enable Extension Marketplace to enable the extension marketplace across the GitLab instance.

Modify the extension registry

Prerequisites:

  • You must be an administrator.

To modify the extension registry:

  1. On the left sidebar, at the bottom, select Admin.
  2. Select Settings > General.
  3. Expand VS Code Extension Marketplace.
  4. Expand Extension registry settings.
  5. Toggle off Use Open VSX extension registry.
  6. Enter full URLs for a VS Code extension registry’s Service URL, Item URL, and Resource URL Template.
  7. Select Save changes.

After you modify the extension registry: