Zip File Preview
A Visual Studio Code extension that allows you to preview and explore the contents of ZIP files directly in the editor.

Features
- Browse ZIP file contents in a file explorer-like grid view
- Sortable columns (Name, Size, Compressed, Date Modified)
- Resizable columns with drag separators
- Search files and folders instantly
- Double-click to view file source in a new tab (with syntax highlighting)
- Full Visual Studio Code theme integration
Usage
- Click any
.zip file in the Explorer sidebar
- The ZIP contents are displayed in a grid view automatically
- Click column headers to sort, drag separators to resize
- Use the search bar to filter files and folders
- Double-click a file to view its contents
Settings
Settings > Extensions > Zip File Preview
Zip File Preview
├── Max File Size: [100] MB
├── Max Entry Count: [10000]
└── Max Depth: [100]
| Setting |
Default |
Description |
maxFileSize |
100 MB |
Shows a warning when a ZIP file exceeds this size limit. |
maxEntryCount |
10000 |
Shows a warning when a ZIP archive contains more entries than this limit. |
maxDepth |
100 |
Maximum folder nesting depth. Entries deeper than this will be excluded from the tree view. |
When limits are exceeded, you can still open the file by clicking Open Anyway.
Troubleshooting
If .zip files don't open with this extension automatically, add the following to your Visual Studio Code settings.json:
"workbench.editorAssociations": {
"*.zip": "zipfilepreview.zipEditor"
}
License
This project is licensed under the MIT License.
| |