Skip to content
| Marketplace
Sign in
Visual Studio Code>Visualization>Repo Structure ExporterNew to Visual Studio Code? Get it now.
Repo Structure Exporter

Repo Structure Exporter

Trupxl

|
27 installs
| (1) | Free
Export repository structure as a beautiful tree diagram for easy sharing and context. Perfect for documentation, READMEs, and AI prompts.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Repo Structure Exporter

A VSCode extension that generates beautiful tree-style repository structure diagrams. Perfect for sharing code context with AI assistants, documentation, or team collaboration!


Quick Info & Usage Guide

Repo Structure Exporter lets you instantly visualize and share your project's folder structure:

  • Right-click any folder in the Explorer and select Export Repository Structure
  • Export the entire workspace from the Command Palette
  • Copy, save, or preview the structure in seconds
  • Respects .gitignore and ignores clutter (like node_modules, .git, build folders, etc.)
  • Works with any project: JavaScript, TypeScript, Python, and more

📸 Screenshots

Add screenshots or GIFs here to show how to use the extension !

  1. Right-click a folder and select Export Repository Structure Context Menu Example
  2. Choose export method (copy, save, preview) Export Options Example
  3. See the beautiful tree output! Tree Output Example

How to Use

Method 1: Right-Click Context Menu

  1. Right-click on any folder in the Explorer
  2. Select "Export Repository Structure"
  3. Choose how you want to export (copy/save/show)

Method 2: Command Palette

  1. Open Command Palette (Ctrl+Shift+P or Cmd+Shift+P)
  2. Type "Export Workspace Structure"
  3. Select workspace folder (if multiple)
  4. Choose export method

Example Output

my-nextjs-app/
├── .gitignore
├── README.md
├── next.config.js
├── package.json
├── public/
│   ├── favicon.ico
│   └── images/
│       └── logo.png
├── src/
│   ├── app/
│   │   ├── layout.tsx
│   │   ├── page.tsx
│   │   ├── api/
│   │   │   └── route.ts
│   │   └── dashboard/
│   │       └── page.tsx
│   ├── components/
│   │   └── ui/
│   │       ├── button.tsx
│   │       └── input.tsx
│   └── lib/
│       └── utils.ts
├── tsconfig.json
└── package-lock.json

Installation

  1. Search for Repo Structure Exporter in the VSCode Extensions Marketplace
  2. Click Install
  3. Or, install from a .vsix file:
    code --install-extension repo-structure-exporter-0.1.2.vsix
    

Requirements

  • VSCode version 1.85.0 or higher
  • Node.js 18.x or higher (for development)

Release Notes

0.1.2

  • Bugfix: Properly packages dependencies for production
  • Author info and docs updated

0.1.0

  • Initial release of Repo Structure Exporter!
  • Tree-style structure generation
  • Multiple export options (clipboard/file/preview)
  • .gitignore support
  • Context menu integration
  • Command palette commands

License

MIT


Enjoy sharing your repository structure with ease! 🌳✨

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft