📂 Folder Tree Structure Generator
A Visual Studio Code extension to easily generate a clean tree structure of your project's root folders and files.
Perfect for creating project documentation, README files, and sharing folder structures without the clutter of deep nested files or hidden folders.
✨ Features
- 📁 Displays folders first, sorted alphabetically.
- 📄 Displays files, sorted alphabetically.
- Ignores hidden files and folders (starting with .).
- Outputs a copy-paste ready folder tree.
- Automatically copies the tree to your clipboard.
- Simple, one-click command palette execution.
📸 Example Output
my-project/
├── 📁 public/
├── 📁 src/
├── 📁 tests/
├── 📄 README.md
├── 📄 package.json
└── 📄 tsconfig.json
⚙️ How To Use
Open your project in Visual Studio Code.
Open the Command Palette:
- Ctrl+Shift+P (Windows/Linux)
- Cmd+Shift+P (Mac)
Run the command:
Generate Root Folder Tree
A clean tree structure will:
- Open in a new editor tab.
- Be copied to your clipboard for easy sharing!
✅ Requirements
- VS Code version 1.98.0 or higher
- No additional dependencies.
🔧 Extension Settings
This version does not require any settings.
Future versions may include:
- Exclude folders/files.
- Depth limit.
- Custom icons.
🐞 Known Issues
- Currently only scans the root level of your workspace.
- Hidden folders/files are ignored by default.
- No recursion (yet).
📝 Release Notes
0.0.1
Initial release!
- Generates folder tree from root folders and files.
- Ignores hidden items.
- Copies result to clipboard.
📚 More Info
🚀 Coming Soon
- Recursive directory tree generation.
- Configurable exclude rules.
- Custom output formats (Markdown, plain text, etc.).
- Depth limit option.
❤️ Enjoy!
If you like this extension or have feedback, feel free to let me know!
Future updates are planned based on feedback and feature requests.
Credits :
Folder icons created by Cuputo - Flaticon