VS Code extension  

Your whole workspace,
one markdown file.

Right-click any folder in the Explorer. Tree Mapper writes out the full directory tree and every file's source into a single file, ready to paste into any AI assistant.

Free, MIT licensed · Marketplace · .vsix download
tree-mapper — live output watching
what you get

One right-click. Full context.

tree-mapper/
├──

Full directory tree

A CLI-style hierarchy, directories before files, matching exactly what you see in the Explorer sidebar.

├──

Every file's source

60+ languages detected automatically and wrapped in fenced, syntax-tagged code blocks.

├──

Interactive file picker

Check exactly which files go in. Search, filter, and reuse your last selection — fast even on workspaces with thousands of files.

├──

Jump-to-file index

Every snapshot opens with a linked index, so you can jump straight to one file instead of scrolling a long document.

├──

Token count

Each snapshot's header estimates its token count, so you know how much context it'll use before pasting it anywhere.

└──

Snapshot history

Keeps a rolling set of your last snapshots in .tree/, deleting the oldest automatically.

how it works

Three steps, no setup.

1

Right-click a folder

In the Explorer, choose Tree Mapper: Generate Snapshot — or run it on the workspace root from the Command Palette.

2

Choose your files

A picker opens with sensible defaults already checked. Uncheck anything you don't need, or restore your last selection.

3

Get your markdown

Saved to .tree/, with an Open File button waiting in the notification.

Get started in under 30 seconds.

No account, no config.

Install in VS Code Ctrl+Shift+X
get tree mapper

Ready when you are.

Free forever, open source, MIT licensed. Works on every project, every time.