Preview All-in-One with QuickLookPreview files from VS Code through the Windows QuickLook app.
Highlights
Requirements
Quick start
If QuickLook is not detected, run Keyboard shortcuts and customization
Changing
|
| Context | Previewed version |
|---|---|
| Changes and Untracked | Working copy |
| Staged Changes | Git index |
| Deleted files | Last version that still exists |
| Diff and History editors | Currently focused side |
The context-clicked SCM row wins when multiple rows are selected. Git versions are copied to version-labelled temporary files and removed after ten minutes or when the extension stops. In Timeline and Source Control Graph, Space preserves the current release shortcut and editor-eye behavior by previewing the active file or focused Diff side.
Commands
| Command | Purpose |
|---|---|
QuickLook: Preview with QuickLook |
Preview the selected or active file. |
QuickLook: Check QuickLook Installation |
Check path resolution and installation status. |
QuickLook: Set QuickLook Executable Path |
Detect, browse for, or enter QuickLook.exe. |
Settings
| Setting | Default | Purpose |
|---|---|---|
quicklook.executablePath |
QuickLook.exe |
Resolve QuickLook from PATH and common Installer/Scoop locations, or use an explicit custom path. |
quicklook.previewOptions |
[] |
Additional QuickLook options such as /pin or /top. |
quicklook.useExplorerClipboardFallback |
true |
Resolve Explorer keyboard selection through a temporary Copy Path operation, then restore the clipboard. |
Supported formats
QuickLook commonly supports text and code, images, PDF and Office documents, archives, fonts, media, mail, design assets, and other formats. Actual coverage depends on your QuickLook version and installed plugins; see the official supported-formats list.
Tip (Markdown Preview): This extension focuses on lightweight, pop-up previews via Windows QuickLook for local files and Git history snapshots. For in-editor rendered preview and side-by-side editing, use VS Code's native Markdown preview (VS Code 1.120+ natively introduced rendered Markdown previews in Source Control / Diff editors; VS Code 1.120+ / latest 1.133+ is recommended for the full native experience).
Privacy
The extension passes selected local file paths only to the local QuickLook process. It does not upload files, collect telemetry, or send file paths to external services.
Troubleshooting
- Run
QuickLook: Check QuickLook Installation. - Correct the executable path if needed.
- Open the
QuickLookoutput channel for launch details. - Confirm that QuickLook itself can preview the same file outside VS Code.
For support, see the support guide.
Development and release
Run npm test to compile and test. See the release guide for packaging and publishing.