Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Paste EnhancerNew to Visual Studio Code? Get it now.
Paste Enhancer

Paste Enhancer

kartik guleria

|
4 installs
| (0) | Free
Smart paste: choose text, code (from image OCR), or image.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Paste Enhancer

🚀 Paste Enhancer is a smart paste extension for VS Code.
It gives you the power to choose how you want to paste content into your editor — whether it's plain text, code extracted from an image, or handling images.

✨ Features

✅ Paste as Text
Pastes plain text directly from your clipboard into your editor.
(For example, copied text from browser, documents, etc.)

✅ Paste as Code (from image OCR)
Automatically extract text or code from an image in your clipboard (using Tesseract OCR) and insert it at your cursor position.

✅ Paste as Image
(Informs you about pasting images — since VS Code does not directly embed image data, this guides you to save and reference.)


🚀 How to Use

🔥 Activate the extension

  1. Open the Command Palette:

    • Ctrl + Shift + P (Windows/Linux)
    • Cmd + Shift + P (Mac)
  2. Type: 'Enhanced Paste' and select it.

  3. You'll see a menu: Choose paste option : Paste as Text Paste as Code (from image OCR) Paste as Image


✍️ Examples

  • Paste as Text:
    Quickly insert clipboard text wherever your cursor is.

  • Paste as Code (from image OCR):
    Have a code snippet in an image (screenshot, PDF snippet, etc.)?
    Copy that image, run Enhanced Paste, and it will automatically extract the text/code and paste it into your editor.

  • Paste as Image:
    (For now, VS Code does not embed images. This shows info on how to manually handle images.)


⚙️ Requirements

To use Paste as Code (from image OCR):

  • Clipboard must have an image.
  • Your system needs:
    • Windows: PowerShell available (default on Windows 10/11).
    • Mac: pngpaste installed (brew install pngpaste).
    • Linux: xclip installed (sudo apt install xclip).

🛠 Installation

  • Search for Paste Enhancer in the VS Code Extensions Marketplace and install it.

Or install from VSIX file:

code --install-extension paste-enhancer-<version>.vsix

💡 Future ideas
✅ Add a keyboard shortcut for one-click enhanced paste.
✅ Insert image markdown reference automatically.

🚀 Enjoy!
If you like this extension, leave a ⭐ on the Visual Studio Marketplace page.

🛠 Developed by Kartik Guleria
🎯 Powered by tesseract.js for OCR.


---

✅ **Done.**  
If you want, I can also generate a short **Marketplace summary (like `shortDescription`)** or a badge section. Want me to do that? Let me know! 🚀



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