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

code2clipboard

Soheil H

|
9 installs
| (1) | Free
Copy multiple project files/modules as text into clipboard for documentation or feeding into AI systems
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Code2Clipboard

Code2Clipboard is a Visual Studio Code extension that lets you quickly copy multiple project files as text directly into your clipboard. It automatically detects whether your project is React or Node.js by checking your package.json dependencies, and excludes unnecessary files like node_modules, .git, and package.json.

📌 Install from VS Code Marketplace

Install easily through the Visual Studio Code Marketplace:

➡️ Install Code2Clipboard

🚀 Usage

  1. Press Cmd+Shift+P (macOS) or Ctrl+Shift+P (Windows/Linux).
  2. Type "Code2Clipboard: Copy Project Files" and select the command.
  3. The content of your selected modules/files is now in your clipboard, ready for documentation, sharing, or AI integration.

🧩 Integrate with Cursor Extension

To use Code2Clipboard with the Cursor extension:

  1. Download the .vsix file (code2clipboard-0.0.7.vsix or similar) from the GitHub releases page:

➡️ GitHub Repository

  1. Drag and drop the downloaded .vsix file into your Cursor extension.

📋 Example Clipboard Output

// Number of files: 3

// src/index.ts
(redacted source code for index.ts)

// src/components/App.tsx
(redacted source code for App.tsx)

// public/index.html
(redacted source code for index.html)

⚙️ Configuration

Customize excluded paths or formatting by updating the source code directly:

  • src/extension.ts
  • package.json

🤝 Contributing

Pull requests and issues are welcome. For significant changes, please open an issue first to discuss.

📄 License

MIT

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