Right-click any folder. Get a complete Markdown snapshot — full directory tree and every file's source code, ready to share with an AI or archive.
Built for developers who want to give AI assistants or teammates full context about a project — fast.
├── / └── hierarchy. Directories rendered before files at every level..treeignore uses gitignore syntax. Auto-created on first run. Plus hardcoded exclusions for node_modules, .git, and more.UTC+6 or UTC+5:30.No configuration needed to get started. Just install and right-click.
.vsix from GitHub Releases and install it in VS Code via Extensions → Install from VSIX….tree/yyyy-mm-dd-hh-mm-ss.md. Click Open File in the notification to view it instantly.The generated Markdown is structured, readable, and ready to paste directly into any AI assistant or documentation tool.
# Workspace Snapshot: `my-project` --- ## Project Tree ``` my-project/ ├── src/ │ ├── extension.js │ └── scanner.js ├── README.md └── package.json ``` ## File Contents ### `src/extension.js` ```javascript 'use strict'; const vscode = require('vscode'); // ... ```
tree-mapper-x.x.x.vsix file.Ctrl+Shift+X), click the ⋯ menu at the top-right, and select Install from VSIX…tree-mapper-x.x.x.vsix file.tree-mapper-x.x.x.vsix file.Open VS Code Settings (Ctrl+,) and search for Tree Mapper to configure these options.
| Setting | Default | Description |
|---|---|---|
| treemapper.additionalIgnorePatterns | [] | Extra glob patterns to exclude, in addition to .treeignore. Useful for project-agnostic ignores like *.lock. |
| treemapper.maxFileSizeKB | 2048 | Files larger than this value (in KB) are skipped. Default is 2 MB. Lower it to speed up snapshots on large projects. |
Free, open-source, and takes 30 seconds to install. No Marketplace account needed.