Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Project Structure GenerateNew to Visual Studio Code? Get it now.
Project Structure Generate

Project Structure Generate

R054

|
56 installs
| (4) | Free
Generate and save project structure to a text file with smart filtering and file size information
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Project Structure Generator

A simple VS Code extension that generates and saves your project's folder structure to a text file.

Features

  • Right-click Integration: Right-click any folder in Explorer to generate its structure
  • Command Palette: Use Ctrl+Shift+P → "Generate Project Structure"
  • Smart Filtering: Automatically ignores common files like node_modules, .git, build folders
  • File Size Info: Shows file sizes in KB for better understanding
  • Tree Structure: Beautiful tree visualization with proper formatting
  • Error Handling: Gracefully handles permission errors and missing folders

Usage

Method 1: Context Menu

  1. Right-click on any folder in the Explorer panel
  2. Select "Generate Project Structure"
  3. The structure will be saved as project-structure.txt in the selected folder

Method 2: Command Palette

  1. Press Ctrl+Shift+P (or Cmd+Shift+P on Mac)
  2. Type "Generate Project Structure"
  3. Press Enter
  4. The structure will be saved in your workspace root

Example Output

├── src/
│   ├── components/
│   │   ├── Header.tsx (2.3 KB)
│   │   └── Footer.tsx (1.8 KB)
│   ├── utils/
│   │   └── helpers.ts (0.9 KB)
│   └── index.ts (0.5 KB)
├── package.json (1.2 KB)
└── README.md (0.8 KB)

What Gets Ignored

The extension automatically ignores common files and folders:

  • Hidden files (starting with .)
  • node_modules
  • Build folders (dist, build, out, target)
  • Version control (.git)
  • IDE files (.vscode, .idea)
  • Log files and temporary files
  • OS-specific files (Thumbs.db, .DS_Store)

Requirements

  • VS Code 1.74.0 or higher

Release Notes

0.0.1

  • Initial release
  • Basic project structure generation
  • Context menu and command palette integration

Contributing

Found a bug or have a feature request? Please open an issue on GitHub.

License

MIT License

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