Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Smart Env PasteNew to Visual Studio Code? Get it now.
Smart Env Paste

Smart Env Paste

davidavz

|
1 install
| (0) | Free
Paste missing keys from .env.dist into .env files
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

🧪 Smart Env Paste

Icon

Paste only missing .env keys from clipboard into your current .env file.

  • ✅ Avoid duplicates
  • ⚡ Fast, smart, and context-aware
  • 🎯 Works with .env, .env.production, .env.custom, etc.

🚀 Features

  • Smart paste from .env.dist
  • Only adds missing keys
  • Configurable file matching pattern
  • Works via shortcut (Cmd+Shift+V) or right-click menu

⚙️ Settings

Setting Default Description
smartEnvPaste.filePattern ^\\.env(\\.\\w+)? Regex for matching files

📸 Demo

Keybinding demo Context menu demo

⌨️ Keyboard Shortcut

Cmd+Shift+V in matching files.

📂 File Support Examples

  • .env
  • .env.local
  • .env.production
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft