Automatically generates and maintains directory structure documentation for Python projects.
![]() |
![]() |
File Tree Generator helps developers maintain up-to-date documentation of their project structure by automatically generating file tree diagrams in text or markdown format. The plugin integrates seamlessly with PyCharm and can update documentation in real-time as your project evolves.
Instant Documentation - Generate text or markdown documentation of your project structure with one click
- Live Updates - Automatically refreshes documentation when files or directories change
- Highly Customizable - Configure file patterns, depth levels, and formatting options
- Python-Aware - Special highlighting for Python modules and packages
- Integration - Accessible directly from PyCharm's Tools menu
📁 my_project/
├── 📁 core/
│ ├── 📄 __init__.py
│ ├── 📄 models.py
│ └── 📄 utils.py
├── 📁 tests/
│ ├── 📄 __init__.py
│ └── 📄 test_models.py
├── 📄 README.md
└── 📄 setup.py
- In PyCharm, go to Settings → Plugins → Marketplace
- Search for "File Tree Generator"
- Click Install
- Restart PyCharm when prompted
- Download the latest release
.zip
file from the Releases page - In PyCharm, go to Settings → Plugins
- Click the gear icon and select "Install Plugin from Disk..."
- Navigate to the downloaded
.zip
file - Restart PyCharm when prompted
- Open your Python project in PyCharm
- Go to Tools → File Tree Generator
- Configure your preferences in the dialog that appears
- Click Generate
- Go to Settings → Tools → File Tree Generator
- Enable "Auto-update on file changes"
- Configure additional settings as needed
- Click Apply
- Output Format: Choose between plain text (.txt) or Markdown (.md)
- Output Location: Specify where to save the generated documentation
- Include Patterns: Define which files/directories to include (supports glob patterns)
- Exclude Patterns: Define which files/directories to exclude
- Depth Level: Control how deep the directory tree should be traversed
- Show File Sizes: Toggle display of file sizes
- Group by Type: Organize files by their type
This project uses Gradle for building:
# Clone the repository
git clone https://github.com/Avaxerrr/Pycharm-File-Tree-Generator.git
cd Pycharm-File-Tree-Generate
# Build with Gradle
./gradlew build
# The plugin ZIP file will be in build/distributions/
For bug reports and feature requests, please create an issue on the GitHub repository.
For questions and discussions, visit the Discussions page.
This plugin is available under the MIT License. See the LICENSE file for more information.