A Visual Studio Code extension that allows you to select multiple files/folders in the explorer and combine their content with directory structure into a single view.
Features
📁 Select multiple files and folders from VS Code Explorer
🌲 Generate directory tree structure
🔍 Respect .gitignore rules
📝 Export all selected file contents in one view
🚀 Support batch export
⚡ Fast and lightweight
📑 Combine contents from multiple open tabs
Usage
For Explorer Files:
Right-click on a file or folder in VS Code Explorer
Select multiple files/folders using Ctrl/Cmd or Shift key (optional)
Click "Combine Selected Files Content" from the context menu
For Open Tabs:
Right-click on any editor tab
Select "Combine Open Tabs Content"
Choose the tabs you want to combine from the quick pick menu
A new editor will open showing:
The directory tree structure
Contents of all selected files
Relative paths for each file
Notes
Files listed in .gitignore will be automatically excluded
The .git directory is always excluded
Large files and binary files might impact performance
Installation
Open VS Code
Go to Extensions (Ctrl+Shift+X)
Search for "Explorer Multi-Select Combiner"
Click Install
中文说明
一个 Visual Studio Code 扩展,允许你在资源管理器中选择多个文件/文件夹,并将它们的内容和目录结构组合到单个视图中。