Is it possible to open and edit a vsix package(VS code's extension file)? If yes, then how?
Asked Answered
S

2

6

There is a vsix package developed by another developer, which needs some modifications. I tried to open the vsix file in VS code itself(latest version), but it is opening the binaries.

Would it be possible to open the vsix package so that I can modify? If yes, then how?

Spellbound answered 31/7, 2019 at 13:43 Comment(1)
a .vsix is just a .zip, but it contains in general code (assemblies, .dll), that you cannot change, not more than any compiled program.Vesper
W
6

As Simon mentioned, a .VSIX is just a .ZIP file containing the files that make up the extension. While you can rename it to a .zip file, modify, re-zip and rename to .VSIX; You can really only edit the text files packaged into the .VSIX file. So the ability to modify the extension is going to be pretty limited, depending on what is actually in the .VSIX payload. You'd obviously need the source projects to rebuild any of the package's binaries.

Wooden answered 1/8, 2019 at 17:15 Comment(0)
N
0

I think it is not possible to do this unless you touch the source code.

Natelson answered 24/1, 2020 at 15:19 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.