FileFusePack any local project into a single, AI-ready file — without leaving VS Code. FileFuse lets you visually select exactly the files and folders you want, then bundles them into one clean, structured document ready to paste or upload into ChatGPT, Claude, Gemini, or any other AI assistant. No terminal commands, no manual copy-pasting, no GitHub repository required — it works on any folder open in VS Code. Why FileFuse?Giving an AI assistant the right context across multiple files is usually painful. You end up opening files one by one, copying their contents, and manually labeling which file is which — and if your project has dozens of files, that process becomes tedious fast. FileFuse solves this with a simple workflow: open the sidebar, tick the files and folders you want, click Pack Files, and you get a single text file containing your selected files' full structure and contents — properly labeled and ready to share. Panel Reference
Key Features🌳 Visual File TreeA full explorer-style sidebar showing your entire workspace, with a checkbox beside every file and folder. Click a folder to expand or collapse it; click its checkbox to select or deselect everything inside. 📁 Smart Recursive SelectionTicking a folder selects every file and subfolder inside it. Folders automatically reflect the state of their contents — a folder shows as checked only when everything selectable inside it is checked. 🚫 Gitignore-Aware SelectionWhy this exists: when handing your codebase to an AI assistant, it's easy to accidentally sweep up files you never meant to share — When FileFuse detects a Git repository, it reads your 🔒 Automatic Output Folder ProtectionWhy this exists: the files FileFuse generates are working files, not project source — they shouldn't end up tracked in your Git history or pushed to a remote, especially since they're often a concentrated dump of your codebase in one place. The first time you pack files, export a tree, or save a preset in a Git repository, FileFuse automatically makes sure 🔍 Live Search and FilteringType into the filter bar to instantly narrow the tree to matching files and folders. Matching folders automatically expand to reveal their contents. 🎛️ File Size LimitingDrag the Include files under slider (50 KB to 100 MB) to set a size cap. Files over the limit still appear in the output's file structure for context, but their contents are skipped — keeping large binaries or generated files from bloating your output. 🏷️ File Size and Token EstimatesEvery file shows its size in the tree, along with an estimated token count. A running total at the top of the panel shows your full selection's estimated token usage, so you can stay within your AI assistant's context window before you even click Pack. 📦 Two Output FormatsChoose how your packed file is structured with the Markdown output toggle:
🌳 Selected-Only Tree ExportClick Export Tree to save just the directory structure of your current selection, without file contents — useful for quickly sharing your project's layout or double-checking what you've selected. 📜 Recent Outputs HistoryYour last 10 packed files are listed with their size and creation date. Click an entry to open it, use the copy icon to send its contents straight to your clipboard, or delete it when you're done. 💾 Saved Selections (Presets)Save your current file selection under a name you choose, and reload it instantly any time — ideal if you repeatedly pack the same set of files across sessions, such as a core set of source files you regularly hand to an AI assistant. Getting StartedStep 1 — Open FileFuseClick the FileFuse icon in the VS Code Activity Bar on the left-hand side. The sidebar opens showing your full workspace as a file tree. Step 2 — (Optional) Adjust Your Filters
Step 3 — Select Your FilesClick the checkboxes next to the files and folders you want. Use Select All to grab everything not excluded by Step 4 — Pack Your FilesClick Pack Files. FileFuse writes a single structured output file into a Step 5 — Use Your OutputOpen your new file from the Recent outputs panel, then either:
Output Format ReferencePlain text (default)
MarkdownWith Markdown output enabled, the same selection produces a
Customizing Excluded Folders and FilesBy default, FileFuse hides
You can also set your preferred default output format here:
Where Your Files Are SavedEvery packed file and tree export is written to a
Output files are numbered sequentially and never overwritten — each new pack or export simply gets the next available number, regardless of format. LicenseMIT License. |