Skip to main content

ReadFullManifest

Function ReadFullManifest 

Source
pub fn ReadFullManifest(VsixPath: &Path) -> Result<Value, InstallError>
Expand description

Read the full extension/package.json from a .vsix without extracting the archive to disk. Used by the IPC extensions:getManifest handler so the “Install from VSIX…” preview dialog and drag-and-drop flow can inspect a manifest before the user confirms installation.

The returned value is the raw parsed JSON (serde_json::Value) - callers can project it into VS Code’s IExtensionManifest shape. No NLS bundle resolution is performed here (the renderer only needs publisher/name/ version/displayName for the preview UI, and NLS keys would require unpacking package.nls.json from the archive too).