cursor-viewer
English | 简体中文 | 繁體中文
🎯 What is cursor-viewer?
We’re building a Cursor / VS Code extension that helps you preview almost any file directly inside the editor—including binary files and archives.
It’s not just a viewer. By leveraging Cursor’s @ workflow, cursor-viewer helps Cursor “understand” Word / Excel / PowerPoint content more reliably by converting them into formats that are easier for Cursor to read.
For Markdown, we also provide a Vditor-based WYSIWYG editor. Hate switching back and forth between editing and preview? With Vditor, you can edit in-place with a true “what you see is what you get” experience. We also support Markdown export to multiple formats—try it out.
🚀 Key features
Improve Cursor’s “vision” and boost productivity 👓
Cursor can’t directly understand many binary formats such as Word / Excel / PPT. If you want Cursor to work from those documents, you often end up switching apps and pasting screenshots into chat—slow and error-prone.
cursor-viewer solves this with conversion + @ references: since Cursor works much better with PDF and CSV, we convert your documents and integrate with the @ workflow so Cursor can reliably read content it previously couldn’t.
A real “eye” that sees everything 👀
- Excel:
.xls, .xlsx, .xlsm, .csv, .ods
- Preview spreadsheets directly in the editor
- Save (note: re-saving
.xlsx may lose some formatting; .csv does not support GBK encoding)
- Word:
.docx, .dotx
- Read directly in the editor
- PPT:
.pptx
- Read directly in the editor, with slide/page jump support
- PDF:
.pdf
- Built-in rendering—no extra tools required
- Fonts:
.ttf, .otf, .woff, .woff2
- Preview font styles (great for frontend/design work)
- Images: common formats such as
.png/.jpg/.gif/.webp/...
- Preview images directly in the panel
- Markdown:
.md/.markdown (Vditor-based WYSIWYG editing)
- SVG:
.svg
- HTML: press
Ctrl + Shift + V to open a live preview panel while editing HTML
- HTTP request files:
.http
- Write requests in-editor; send with
Ctrl + Enter / Cmd + Enter
- Save/copy responses—handy for API debugging and working with Cursor
- Windows Registry files:
.reg
- Includes features like
REG: Jump to registry key for quick navigation
- Compressed/archived files:
.zip, .jar, .vsix, .rar, .apk
- Browse archive directory trees
- Open and preview individual files; extract when needed
A cool icon theme to recognize file types faster 🕶️
To help you identify file types quickly in the Explorer, cursor-viewer ships an Office Material icon theme (with clearer icons for Word / Excel / PPT / PDF / archives, etc.).
After installation, the extension will prompt you to choose:
- Use the cursor-viewer icon theme (recommended, default)
- Keep Cursor’s original icon theme
You can switch anytime (no reinstall needed):
- Open the Command Palette (
Ctrl + Shift + P / Cmd + Shift + P) and search: “Configure Icon Theme (with original option)”
- Or select the theme in the Extensions/Settings UI—after choosing this theme, you’ll be prompted again to restore the original theme or keep using it.
Note: the icon theme only affects Explorer icons and does not impact editing, exporting, or previewing features.
Markdown WYSIWYG editor (Vditor), what you see is what you get ✍️
Cursor’s built-in Markdown editor often requires switching between edit and preview modes, which can be frustrating.
cursor-viewer integrates a Vditor-based WYSIWYG Markdown editor so Markdown can feel as easy as editing a Word document—edit directly in the visual view.
We also enhance Markdown workflows with:
- Pasting images and automatically inserting a Markdown image link
- Exporting Markdown to PDF / HTML / PNG and more