Zip Viewer
A Visual Studio Code extension that allows you to view the contents of zip files without extracting them.
Features
- View Zip Contents: Open any
.zip file directly in VS Code to see its contents in a clean, organized table view
- Browse Files: See all files and directories within the zip archive, sorted with directories first
- Preview Files: Click on any text file within the zip to open and view its contents in a new editor tab
- File Information: View file paths and sizes for all files in the archive
Usage
- Open any
.zip file in VS Code
- The Zip Viewer will automatically display the contents
- Click on any file name to view its contents (works for text-based files)
- Binary files will show a notification that they cannot be displayed
Supported File Types
- The extension opens all
.zip files
- Text files within the zip can be previewed with syntax highlighting based on their extension
- Binary files are listed but cannot be previewed directly
Development
To run the extension in development mode:
- Open this folder in VS Code
- Press
F5 to open a new Extension Development Host window
- Open or create a
.zip file to test the extension
Building
npm install
npm run compile
License
This extension is provided as-is for viewing zip file contents.
| |