How to 'extract' a .vsix file? (i.e. not install)
Asked Answered
P

2

18

Title says it all: How can one 'extract' a .vsix file?

I was following a tutorial and states this as step, but I didn't understand it and it wasn't easily googleable.

Plymouth answered 9/2, 2017 at 5:54 Comment(1)
Un-zip or un-install ?Acromion
P
33

Rename the file extension to .zip and voila, just unpack it like a regular zip

Plymouth answered 9/2, 2017 at 5:54 Comment(1)
This is also the official method of extracting VSIX package as explained here by MicrosoftKeewatin
D
9

You can download vsix file 2way. But vsix file downloaded by first site can't extract linux unizp. you need to download second site.

first one

https://marketplace.visualstudio.com/_apis/public/gallery/publishers/${publisher}/vsextensions/${extensionname}/${version}/vspackage

second one

https://${publisher}.gallery.vsassets.io/_apis/public/gallery/publisher/${publisher}/extension/${extensionname}/${version}/assetbyname/Microsoft.VisualStudio.Services.VSIXPackage

If CSS Peak

${publisher} = pranaygp

${extensionname} = vscode-css-peek

${version} = 3.0.2

Disenfranchise answered 19/5, 2020 at 3:1 Comment(1)
Although this is not the answer, this is extremely valuable to know when downloading files in Linux (especially in docker containers). :-)Purnell

© 2022 - 2024 — McMap. All rights reserved.