📁 Folder Tree Pro - VS Code Extension
Generate clean, readable ASCII folder trees directly inside VS Code.
Perfect for documentation, README files, sharing project structure, onboarding new developers, or quickly understanding a directory layout.
Also ideal for AI workflows - easily export your project structure for LLMs to analyze, debug, refactor, or generate code with better context.
Use it whenever you need:
- Project structure previews for PRs or code reviews
- Clean directory trees for technical documentation
- Quick snapshots of large codebases
- Inputting folder layouts into ChatGPT or other LLMs
- Sharing architecture overviews with your team
- Better visibility during refactoring or planning
Simple, fast, and reliable – a must-have tool for anyone working with code.
✨ Features
- Generate folder trees in 3 modes:
- All (Directories + Files)
- Only Directories
- Ignore Folders (e.g.
node_modules, .git, dist)
- Right-click support
- Right-click any folder → generate tree for that folder
- Right-click empty area in Explorer → tree for whole workspace
- Command Palette support
- Automatic clipboard copy
- Your generated tree is also copied to clipboard.
📄 Example Output
my-project
├── src
│ ├── components
│ └── utils
├── public
└── package.json
🎯 Usage
Method 1 — Right-Click
- Right-click a folder in Explorer → Generate Folder Tree
- Right-click empty space in Explorer → Generate full workspace tree
Method 2 — Command Palette
- Press
Ctrl + Shift + P → search for:
Generate Folder Tree
- Select your preferred mode:
- All
- Only Directories
- Ignore Folders
🛠 Requirements
No external dependencies. Works out of the box on all platforms.
⚙ Extension Settings
Currently, this extension does not add user-configurable settings.
Future versions may include:
- Default ignore list
- Default mode selection
- Output format settings
🐞 Known Issues
No known issues at the moment.
If you find a bug, please open an issue in the GitHub repo.
🚀 Release Notes
0.0.1
- Initial release
- Added folder/file tree generation
- Added ignore-folder mode
- Right-click Explorer support
- Command Palette integration
- Clipboard auto-copy
- Icon support
❤️ Contribution
Feel free to open PRs or issues.
Suggestions welcome!
📄 License
MIT License