Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>FolderFusionNew to Visual Studio Code? Get it now.
FolderFusion

FolderFusion

Berkay Ezdemir

|
5 installs
| (1) | Free
Combine and export folder/file contents or structure for seamless LLM analysis.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

FolderFusion

Visual Studio Code extension for combining code files in a folder into a single output, optimized for LLM workflows.

License: MIT


🚀 Features

  • Clipboard & File Output: Copy merged code directly to the clipboard, or save to a new file.
  • Exclude Patterns: Ignore node_modules, .git, or any custom glob patterns configured by you.
  • File Separators: Optionally insert // ==== File: path/to/file ==== headers between snippets.
  • Extension Filtering: Pick which file types to include via a quick‑pick UI.
  • ASCII Tree: Generate a visual ASCII directory tree of your selected folders.
  • Interactive Prompts: Commands available in the Command Palette.

⚙️ Configuration

Configure via Settings → Extensions → FolderFusion:

Setting Type Default Description
folderFusion.exclude string[] ['**/node_modules/**', '**/.git/**'] Glob patterns to ignore when collecting files.
folderFusion.includeSeparator boolean true Insert file‑path comments between merged snippets.
folderFusion.codeFileExtensions string[] ['.ts','.js','.cs',...] File extensions considered “code” for quick merge.

🛠️ Installation & Usage

From VS Code Marketplace

  1. Open VS Code
  2. Go to Extensions (Ctrl+Shift+X / Cmd+Shift+X)
  3. Search for FolderFusion
  4. Click Install

From Source

Prerequisites
  • Node.js (v12+)
  • npm (bundled with Node.js)
  • Visual Studio Code
  • vsce (extension packager):
    npm install -g @vscode/vsce
    
  1. Clone the repo
    git clone https://github.com/brkyzdmr/folder-fusion.git
    cd folder-fusion
    
  2. Install dependencies
    npm install
    
  3. Compile & Package
    npm run compile
    vsce package
    
  4. Install VSIX
    • Via UI: Extensions view → ... → Install from VSIX… → select .vsix file
    • Via CLI (if code is in PATH):
      code --install-extension folder-fusion-*.vsix
      
  5. Restart VS Code

📋 Commands

  • Combine to Clipboard: Right‑click on files/folders → FolderFusion: Combine to Clipboard
  • Combine to File: Right‑click → FolderFusion: Combine to File (choose save location)
  • Generate Tree: Right‑click → FolderFusion: Generate Folder Structure

💡 Tips

  • Select multiple folders or files together for bulk operations.
  • Use exclude globs to skip large directories like dist/ or build/.
  • Paste merged snippets straight into ChatGPT or other tools for context‑aware analysis.

📄 License

This project is licensed under the MIT License. See LICENSE for details.

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