VS Code Extensions
C

Compress to ZIP

by nmhp

Compress to ZIP is a minimal VS Code extension that adds Explorer context menu commands for creating ZIP archives and extracting ZIP files, with support for files, folders, multiple selections, and automatic name handling.

Downloads

661

Rating

— (0)

Version

0.0.1

Last updated

Apr 08, 2026

Minimal VS Code extension that adds Compress to ZIP to the Explorer context menu.

It also adds Extract ZIP for selected .zip files.

Behavior

  • One selected file: creates <name>.zip next to that file.
  • One selected folder: creates <folder>.zip next to that folder.
  • Multiple selected items: creates archive.zip in the common parent folder.
  • If a target zip name already exists, auto-increments (-1, -2, ...).

Extract Behavior

  • One selected .zip file: extracts into a sibling folder with the zip basename.
    • Example: photos.zip -> photos/
  • Multiple selected .zip files: each zip extracts into its own sibling folder.
  • If an extraction folder already exists, auto-increments (-1, -2, ...).

The command only supports local filesystem resources (file://).