Archive and Download
Create TAR or ZIP archives from files and folders selected in the VS Code
Explorer, then choose where to save the result.
Features
Right-click any file or folder in the Explorer to access:
- Tar and Download — creates a
.tar archive (uncompressed).
- ZIP and Download — creates a
.zip archive.
When connected to a remote workspace (SSH, WSL, Dev Containers, Codespaces),
the save dialog defaults to your local machine instead of the remote
host, so the archive downloads straight to your computer.
Both commands are also available via keyboard shortcuts:
| Command |
Windows / Linux |
macOS |
| Tar and Download |
Ctrl+Alt+T |
Cmd+Alt+T |
| ZIP and Download |
Ctrl+Alt+Z |
Cmd+Alt+Z |
Usage
- Right-click a file or folder in the Explorer (or focus a file in the
editor and use the keyboard shortcut).
- Select Tar and Download or ZIP and Download.
- Choose where to save the archive in the save dialog that appears.
- Once the archive is created, you'll get a notification with an option to
reveal the file in your OS file explorer.
Requirements
- VS Code
^1.85.0 or later.
Installation
Install from a packaged .vsix (see Development below), or
search for Archive and Download in the Extensions Marketplace once
published.
Development
npm install
npm test # runs a syntax check on the extension source
npm run package # builds a .vsix with vsce
code --install-extension archive-and-download-0.0.1.vsix
Press F5 in VS Code to launch an Extension Development Host and try the
commands directly, without packaging.
See .agents/ARCHITECTURE.md for the current architecture and
.agents/plans/ for in-progress or historical feature plans.
Release notes
See CHANGELOG.md for the version history.