Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>captureNew to Visual Studio Code? Get it now.
capture

capture

Khattakdev

|
2,874 installs
| (1) | Free
Transform highlighted code into beautifully styled images with a single click in VS Code.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Capture

A VS Code plugin that generates a screenshot of the highlighted content. demo - how to capture

Getting Started

You can take the code snapshot in two steps:

  • Highlight the code
  • Run the command Capture: Take a snapshot

Features

  • [x] Generate code snippets
  • [x] Syntax highlighting
  • [x] Adjustable image dimensions
  • [ ] Customizable theme
  • [ ] Customizable fonts

Contributing

Layout

  • .vscode:

    • This directory contains configuration files for VS Code specific to your project.
    • For example, it might include a launch.json file for debugging configurations.
  • src:

    • This directory contains the source files for your extension.
    • Typically, this includes a extension.ts file, which is the main entry point for your extension.
  • src/test:

    • This directory contains any tests for your extension.
    • It usually includes a suite folder with extension test files.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft