Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Explorer MultiSelect Combiner - 文件选择组合器New to Visual Studio Code? Get it now.
Explorer MultiSelect Combiner - 文件选择组合器

Explorer MultiSelect Combiner - 文件选择组合器

fangao888

|
61 installs
| (0) | Free
选择多个文件/文件夹,一键组合 | Select multiple files/folders, one-click combination
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Explorer Multi-Select Combiner

English | 中文说明

English

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

  1. 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
  2. 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
  3. 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

  1. Open VS Code
  2. Go to Extensions (Ctrl+Shift+X)
  3. Search for "Explorer Multi-Select Combiner"
  4. Click Install

中文说明

一个 Visual Studio Code 扩展,允许你在资源管理器中选择多个文件/文件夹,并将它们的内容和目录结构组合到单个视图中。

功能特点

  • 📁 支持从 VS Code 资源管理器中选择多个文件和文件夹
  • 🌲 自动生成目录树结构
  • 🔍 遵循 .gitignore 规则
  • 📝 在一个视图中导出所有选中文件的内容
  • 🚀 支持批量导出
  • ⚡ 快速且轻量级
  • 📑 支持组合多个打开的标签页内容

使用方法

  1. 资源管理器文件组合:

    • 在 VS Code 资源管理器中右键点击文件或文件夹
    • 使用 Ctrl/Cmd 或 Shift 键选择多个文件/文件夹(可选)
    • 从右键菜单中点击"导出选中文件代码"
  2. 打开标签页组合:

    • 在任意编辑器标签页上右键点击
    • 选择"组合打开的标签页内容"
    • 从快速选择菜单中选择要组合的标签页
  3. 将会打开一个新的编辑器,显示:

    • 目录树结构
    • 所有选中文件的内容
    • 每个文件的相对路径

注意事项

  • .gitignore 中列出的文件将自动排除
  • .git 目录始终被排除
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft