Skip to content
| Marketplace
Sign in
Visual Studio Code>Data Science>Sumanil Labs Document Viewer ProNew to Visual Studio Code? Get it now.
Sumanil Labs Document Viewer Pro

Sumanil Labs Document Viewer Pro

Sumanil Labs

|
1 install
| (0) | Free
A premium document viewer for VS Code. View PDF, DOCX, XLSX, PPTX, CSV, ODF, RTF, TXT, HTML, XML, JSON, LOG files directly in the editor with beautiful rendering, themes, search, and navigation developed by Shubham Kumar(Sumanil Labs)
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Document Viewer Pro

A premium document viewer inside VS Code. View office documents, PDFs, spreadsheets, and more without leaving your editor — no external applications needed.

Features

Universal Document Support

Format Extension
PDF .pdf
Word .docx, .doc, .docm
Excel .xlsx, .xls, .xlsm, .xlsb
PowerPoint .pptx, .ppt, .pptm
CSV/TSV .csv, .tsv, .tab
OpenDocument .odt, .ods, .odp
Rich Text .rtf
Plain Text .txt, .text, .log, .md
HTML .html, .htm, .xhtml
XML .xml, .xsl, .xslt, .xsd, .svg
JSON .json, .jsonc

Beautiful Reader

  • Modern typography with comfortable spacing
  • Dark mode and light mode (follows VS Code theme)
  • Responsive layout with smooth scrolling
  • Native VS Code appearance

Document-Specific Features

PDF Viewer

  • High-quality page rendering
  • Zoom In/Out, Fit Width, Fit Page
  • Full-text search with highlighting
  • Page navigation with thumbnails

Word Viewer

  • Formatted text with tables, images, lists
  • Headings, hyperlinks, headers/footers
  • Page break indicators
  • Preserves original layout

Excel Viewer

  • Beautiful spreadsheet grid
  • Multiple sheet tabs with switching
  • Freeze header row and first column
  • Cell search and selection
  • Auto column sizing

PowerPoint Viewer

  • Slide navigation with Previous/Next
  • Slide thumbnails
  • Keyboard navigation (arrow keys)
  • Presenter-style layout

CSV Viewer

  • Spreadsheet grid view
  • Column sorting (A→Z)
  • Row filtering with search
  • Double-click to copy cell value
  • Column resize support

JSON/XML Viewer

  • Syntax highlighting
  • Collapsible tree view
  • Expand/Collapse all
  • Raw text view toggle

Commands

Command Keybinding
Document Viewer Pro: Open Viewer Right-click → Open with Document Viewer Pro
Document Viewer Pro: Open Current File —
Document Viewer Pro: Refresh Ctrl+Shift+R
Document Viewer Pro: Export HTML Snapshot —
Document Viewer Pro: Zoom In Ctrl+=
Document Viewer Pro: Zoom Out Ctrl+-
Document Viewer Pro: Find Ctrl+F

Settings

Setting Default Description
documentViewerPro.zoomLevel 100 Default zoom level (25–400%)
documentViewerPro.theme auto Viewer theme (auto/light/dark)
documentViewerPro.fontSize 14 Font size for text documents
documentViewerPro.lineSpacing 1.5 Line spacing for text
documentViewerPro.enableThumbnails true Show thumbnails panel
documentViewerPro.rememberLastPage true Remember last page on reopen
documentViewerPro.rememberZoom true Remember zoom level per document
documentViewerPro.autoFitWidth true Auto-fit document width

Installation

From VS Code Marketplace

  1. Open VS Code
  2. Go to Extensions (Ctrl+Shift+X)
  3. Search for "Document Viewer Pro"
  4. Click Install

From VSIX

code --install-extension document-viewer-pro-1.0.0.vsix

Requirements

  • VS Code 1.85.0 or higher

Extension Settings

This extension contributes the following settings:

  • documentViewerPro.* — see table above

Known Issues

  • DOCX rendering requires the mammoth npm package
  • XLSX/XLS rendering requires the xlsx npm package
  • PPTX rendering requires jszip for XML extraction
  • Some complex DOCX formatting may not render perfectly
  • PowerPoint charts and animations are not supported

Release Notes

See CHANGELOG.md for release history.

License

MIT

Architecture

Built with a plugin-based renderer system. Each document format has its own renderer registered with a central registry. New formats can be added by implementing the Renderer interface and registering it.

src/
  commands/       # Extension commands
  providers/      # Webview provider
  renderers/      # Format-specific renderers
    pdf/
    word/
    excel/
    powerpoint/
    csv/
    json/
    xml/
    text/
    html/
    rtf/
    odf/
  shared/         # Shared utilities
  utils/          # Helper functions
  types/          # TypeScript types
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft