Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>DocuThinker ViewerNew to Visual Studio Code? Get it now.
DocuThinker Viewer

DocuThinker Viewer

Son Nguyen

|
2 installs
| (1) | Free
Embed the DocuThinker AI‑powered document analysis & summarization app directly in VS Code.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

DocuThinker Viewer – VS Code Extension

Embed DocuThinker (AI‑powered document upload, summarization & insight extraction) directly into your VS Code.

DocuThinker Logo

Features

  • Instant Document Panel via the Command Palette (DocuThinker: Open Document Panel).
  • Persistent Webview that preserves your upload session when hidden or you switch files.
  • Configurable panel title, editor column, iframe width/height, script permissions, and auto‑open.
  • Secure iframe with strict Content‑Security‑Policy loading https://docuthinker.vercel.app/home.
  • No extra backend—all processing happens in your existing DocuThinker web app.

VSCode Marketplace

To avoid manual installation, you can find the extension on the VSCode Marketplace.

Feel free to leave a review or report issues there!

Installation

  1. Clone & enter the extension folder
git clone https://github.com/hoangsonww/DocuThinker-AI-App.git
cd DocuThinker-AI-App/extension
  1. Install dependencies & compile
npm install
npm run compile
  1. Package as a VSIX
vsce package

→ produces docuthinker-chat-0.0.1.vsix

  1. Install the VSIX

    • CLI:
    code --install-extension docuthinker-chat-0.0.1.vsix
    
    • VS Code UI: Extensions view → “…” → Install from VSIX… → select the file

Usage

  1. Open the Command Palette (Ctrl+Shift+P / ⌘+Shift+P).
  2. Run DocuThinker: Open Document Panel.
  3. Upload your PDF or Word document, then view summaries and extracted insights in the embedded panel.

Configuration

Open Settings → Extensions → DocuThinker Viewer:

Setting Default Description
docuthinkerChat.panelTitle DocuThinker Viewer Title of the Webview panel.
docuthinkerChat.viewColumn 1 Editor column (0=active, 1–3) to open the panel in.
docuthinkerChat.retainContext true Keep the upload/session state when hidden.
docuthinkerChat.enableScripts true Allow scripts to run inside the iframe.
docuthinkerChat.iframeWidth 100% CSS width of the embedded iframe.
docuthinkerChat.iframeHeight 100% CSS height of the embedded iframe.
docuthinkerChat.openOnStartup false Auto‑open panel on VS Code startup.

Development

  • Watch & rebuild:

    npm run watch
    
  • Debug: Press F5 to launch an Extension Development Host.

  • Re‑package:

    npm run package
    

Troubleshooting

  • Blank panel: Check that https://docuthinker.vercel.app/home is reachable.
  • CSP errors: Ensure the iframe src URI exactly matches the frame-src CSP directive.

License

MIT (see LICENSE for details).


About DocuThinker

DocuThinker is a full‑stack FERN‑Stack AI app for document upload, summarization, and insight extraction. Learn more in the main repo: 👉 hoangsonww/DocuThinker-AI-App or try it live: https://docuthinker.vercel.app/home

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft