Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Capture the CodeNew to Visual Studio Code? Get it now.
Capture the Code

Capture the Code

Quentin Berger

|
11 installs
| (0) | Free
One-click snapshot of your workspace tree and file contents to the clipboard.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Capture the Code VS Code Extension

Takes a one‑click “text shot” of your whole workspace tree and each file’s textual content and puts it on your clipboard.

Features

  • Sidebar view with a big 📸 Capture button
  • Skips binary files and very large text files (configurable)
  • Ignores common folders like node_modules and .git
  • Nothing is written to disk

Usage

  1. Install the extension (vsce package then code --install-extension capture-code-shot-<version>.vsix or grab it from the Marketplace once published).
  2. Open a folder in VS Code.
  3. Click the Capture button in the Capture Code activity bar icon.
  4. Paste anywhere (chatGPT, email, etc.).

Settings

  • captureCodeShot.ignoreGlobs – Additional glob patterns to exclude.
  • captureCodeShot.maxFileSizeKB – Max size for file content before truncation.
  • captureCodeShot.skipBinaries – Skip binary files completely.

Development

  • npm install
  • npm run watch (auto‑compile)
  • Press F5 to launch the Extension Development Host.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft