While more and more extensions land in Open VSX on a daily basis, there still might be cases where you are missing a certain extension that exists in the MS marketplace.
On a real vscode instance, right click on an extension and choose Copy Extension ID
Example:
- Cloud Code from Google has the extension id
googlecloudtools.cloudcode
- The publisher is googlecloudtools and the extention is cloudcode.
In Gitpod, download the VSIX file using cURL (adapt the values as needed)
curl https://googlecloudtools.gallery.vsassets.io/_apis/public/gallery/publisher/googlecloudtools/extension/cloudcode/latest/assetbyname/Microsoft.VisualStudio.Services.VSIXPackage --output googlecloudtools.cloudcode.VSVSIXPackage
Install the VSIX using code --install-extension googlecloudtools.cloudcode.VSVSIXPackage
or by using "install from VSIX..." under the extensions tab