Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Copy All TabsNew to Visual Studio Code? Get it now.
Copy All Tabs

Copy All Tabs

Omri Fahn

|
239 installs
| (4) | Free
Copies contents of all open tabs to clipboard.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

CopyAllTabs Extension

This extension helps you quickly copy the contents of open tabs or entire folders in Visual Studio Code to the clipboard, making it easy to share your work or back up your files in a structured format.

Features

  • Activity Bar Integration:
    • Copy All Tabs: Copy the contents of all open files, including their file names, to your clipboard.
    • Copy Active Tab: Copy the content of the currently active file to your clipboard.
    • Copy Current Group Tabs: Copy all tabs in the current tab group to your clipboard.
  • Explorer Context Menu:
    • Copy Folder Contents: Copy the contents of all files within a selected folder (and its subfolders) to your clipboard.

Example Format

When using the "Copy All Tabs" or "Copy Folder Contents" features, the content copied to the clipboard will follow this format:

/path/to/file1:

<content of file1>

-----

/path/to/file2:

<content of file2>

-----

/path/to/file3:

<content of file3>

-----

This structure helps maintain clear separation between different files, making it easy to identify each file's contents in the copied output.

Contributions

If you see this extension on the VS Code Marketplace, feel free to contact me at omrifahn@microsoft.com with any issues or suggestions for new features.

If you are viewing this repository on GitHub, contributions are welcome! Feel free to fork the repository, make changes, and open a pull request. If you encounter any issues or have suggestions for new features, please open an issue in the GitHub repository.

Publishing Instructions

Note to future Omri
To publish a new version of the extension:

  1. Run the following command to package the extension:
    vsce package
    
  2. Upload the generated .vsix file to the Visual Studio Marketplace at:
    https://marketplace.visualstudio.com/manage/publishers/omrifahn
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft