Preview image files as their own thumbnails in VS Code Explorer. This extension replaces the default file icons for image files with their actual content as thumbnails.
Now supports VS Code 1.107.0 and later, macOS, Linux, and Windows.
Now supports the following image formats:
- png
- jpg/jpeg
- gif
- bmp
- ico
- svg
- webp
- Auto-activation: Automatically activates the icon theme when opening a workspace
- Live preview: Image files are shown with their actual content as thumbnails
- Configurable extensions: Customize which image formats to preview
- Configurable icon size: Adjust the thumbnail size (8-32 pixels)
- Auto-refresh: Icons are automatically refreshed when image files are added, modified, or deleted
The extension automatically activates its icon theme when you open VS Code. Image files in your workspace will display as thumbnails in the Explorer view.
If icons don't update automatically:
- Open Command Palette (
Ctrl+Shift+P) - Search for "Icon Preview: Refresh Icons"
If the icon theme is not active:
- Open Command Palette (
Ctrl+Shift+P) - Search for "Icon Preview: Activate Icon Theme"
Open VS Code Settings and search for "Icon Preview" to configure:
| Setting | Type | Default | Description |
|---|---|---|---|
tlcsdm.iconpreview.autoActivate |
boolean | true | Automatically activate the icon theme when opening a workspace |
tlcsdm.iconpreview.supportedExtensions |
array | See below | Image file extensions to preview as thumbnails |
tlcsdm.iconpreview.iconSize |
number | 16 | Size of the icon thumbnails in pixels (8-32) |
- png
- jpg
- jpeg
- gif
- bmp
- ico
- svg
- webp
- Open VS Code
- Go to Extensions (
Ctrl+Shift+X) - Search for "Icon Preview"
- Click Install
- Download the
.vsixfile from Releases - In VS Code, open Command Palette (
Ctrl+Shift+P) - Search for "Extensions: Install from VSIX..."
- Select the downloaded
.vsixfile
Download from Jenkins
This project uses TypeScript and npm (Node.js 22).
# Install dependencies
npm install
# Compile
npm run compile
# Watch mode (for development)
npm run watch
# Lint
npm run lint
# Package
npx @vscode/vsce package
# Test
npm run test- eclipse-iconpreview - Eclipse version of this plugin
MIT License - see LICENSE for details.