Context Merger is a Visual Studio Code extension that helps you quickly merge multiple files and folders into a single, well-structured text file. It's perfect for:
Sharing project context with LLMs (ChatGPT, Claude, Gemini, Copilot)
Code reviews
Documentation
Debugging sessions
Instead of manually opening, copying, and pasting files, Context Merger lets you right-click any selection in the VS Code Explorer and instantly generate a unified file containing all relevant source code, organized and ready to use.
Features
Merge multiple files and folders into a single Markdown file
Automatically adds file headers and preserves folder structure
Filters to common code/document file types by default
Optionally include any file type via a setting toggle