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 on Windows).
Adds clear headers and footers around each file’s content:
==== Start of the File: <name> ====
<file content>
==== End of the File: <name> ====
How to Use
In the Explorer, select the files and/or folders.
Right-click → Copy Contents of Selected Files
- Or run the same command from the Command Palette.
- Or use the shortcut
Ctrl+Alt+C / ⌘⌥C .
Paste anywhere — the merged contents are now in your clipboard.
From the Editor, you can also run the command on the currently open file.
- 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.
Installation
Install from the VS Code Marketplace: search for “Copy Multiple Files Content” (publisher: cubedroid ).
Or install a packaged .vsix manually:
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
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
| |