Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Copy Multiple Files ContentNew to Visual Studio Code? Get it now.
Copy Multiple Files Content

Copy Multiple Files Content

Cubedroid

|
11 installs
| (0) | Free
Copy contents of multiple files into the clipboard at once.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Copy Multiple Files Content

Copy the contents of multiple files into the clipboard at once — directly from the Explorer or the active editor.

  • Publisher: cubedroid
  • Command: Copy Contents of Selected Files
  • Command ID: copy-multiple-files-content.copySelectedFilesContents
  • Shortcut: Ctrl+Alt+C (Windows/Linux) · ⌘⌥C (macOS)

Features

  • Select multiple files and/or folders in the Explorer and copy their combined contents to the clipboard.

  • Recursive folder traversal.

  • Deduplication of files (case-insensitive).

  • Adds clear headers and footers around each file’s content, using the project‑relative path (relative to the file’s workspace root), not an absolute path:

==== Start of the File: src/utils/parse.ts ==== ==== End of the File: src/utils/parse.ts ====


* Works in **multi-root workspaces** — each file’s path is relative to its own workspace folder.
* Path separators are normalized to `/` for consistency across platforms.


## Screenshots

![How to use the extention](https://github.com/ItsDanielShay/copy-multiple-files-content/raw/HEAD/image.webp)

![The Result](https://github.com/ItsDanielShay/copy-multiple-files-content/raw/HEAD/image-1.webp)



## How to Use

1. In the **Explorer**, select the files and/or folders.
2. Right-click → **Copy Contents of Selected Files**
* Or run the same command from the **Command Palette**.
* Or use the **shortcut** `Ctrl+Alt+C` / `⌘⌥C`.
3. Paste anywhere — the merged contents are now in your clipboard.

> From the **Editor**, you can also run the command on the currently open file.

## Menu Placement

* **Explorer context menu:** inside the **Cut / Copy / Paste** group (at the bottom).
* **Editor context menu:** at the bottom of the corresponding group.

## Notes & Limitations

* Assumes **UTF-8** encoding when reading files.
* Binary or unreadable files are ignored.
* Large files may slow down the operation.
* File order is determined by the filesystem traversal.
* In multi-root setups, the workspace folder name itself is **not** prefixed — only the path **inside** that folder is shown.

## Installation

* Install from the **VS Code Marketplace**: search for **“Copy Multiple Files Content”** (publisher: `cubedroid`).
* Or install a packaged `.vsix` manually:

```bash
code --install-extension copy-multiple-files-content-<version>.vsix

Development

npm install
npm run compile
# Press F5 in VS Code to launch the Extension Development Host

Changelog

  • 1.0.1 — Headers/footers now show project‑relative paths instead of only the filename.
  • 1.0.0 — Initial release.

License

See cubedroid.com/plugin-license.txt

Support & Donation

If you encounter issues or have feature requests, please open an Issue or contact support@cubedroid.com.

If you find my plugins useful, consider buying me a coffee ☕ Your support helps me keep building helpful tools for everyone: Donate via PayPal

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