📄 MD File Dumper
MD File Dumper is a Visual Studio Code extension that allows you to easily dump the contents of selected files or entire folders into Markdown format and copy them to the clipboard.
Now with reverse loading from Markdown back to files, plus the ability to save and load from files!
🚀 Features
- 📁 Works with files and folders (recursively).
- ✨ Automatically detects code language by file extension.
- 📋 Copy dump result to clipboard or save it directly to a file.
- 📥 Load from Markdown in clipboard or file — preview changes before applying.
- 🛡 Escapes triple backticks (\```) inside files to prevent Markdown breakage.
- 🌍 Multi-language interface (EN / RU).
- 📌 Context menu integration in Explorer and Command Palette.
📦 Example Dump Output
If you select two files:
src/main.py
src/utils/helper.js
You will get:
## src/main.py
```py
print("Hello world")
```
## src/utils/helper.js
```js
console.log("Hello from helper!");
```
🔄 Reverse Loading from Markdown
You can now right-click in Explorer and choose Load Files from Markdown.
The extension will parse the Markdown dump from the clipboard (or file), show a preview of changes, and allow you to accept or reject them.
📖 Usage
Dump to Clipboard
- Select files/folders.
- Right-click → Dump Files/Folders to Markdown (Clipboard).
Dump to File
- Select files/folders.
- Right-click → Dump Files/Folders to Markdown (Save to File).
Load from Clipboard
- Right-click on empty space in Explorer.
- Select Load Files from Markdown (Clipboard).
Load from File
- Open Command Palette (
Ctrl+Shift+P).
- Run Load Files from Markdown (Select File).
💡 Why use this?
When working with AI, code review, or documentation, you often need to share code in a structured, syntax-highlighted way.
Markdown dumps allow you to:
- Preserve project structure.
- Give AI full context instantly.
- Avoid manual copying and formatting.
- Restore code back from Markdown easily.
🌍 Localization
Available languages:
The interface language follows your VSCode locale.