Effortlessly export your project's folder structure and code files into .txt format. Ideal for creating documentation, sharing with teammates, onboarding developers, or feeding your codebase into LLMs like ChatGPT.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
CodePrintify is a powerful Visual Studio Code extension that allows you to export your project's folder structure and code files into .txt format with a single click. Ideal for creating documentation, sharing with teammates, onboarding developers, or feeding your codebase into LLMs like ChatGPT.
How to Use
Step 1: Install the Extension
Open Visual Studio Code.
Go to the Extensions Marketplace.
Search for CodePrintify and click Install.
Step 2: Run the Commands
Open the Command Palette (Ctrl + Shift + P or Cmd + Shift + P on macOS).
Run:
Copy Folder Structure to TXT → Creates folder_structure.txt in the root of your workspace.
Copy Code Files to TXT → Creates code_files.txt in the root of your workspace.
Step 3: Access Your Files
Find the generated .txt files in the root directory of your project workspace.
Step 4: Watch the Demo
Watch this video to see CodePrintify in action:
Benefits
Streamlined Documentation: Quickly share your project structure and code files.
Easy Collaboration: Simplify onboarding and code review processes.
Customizable Output: Supports any code file format included in your project.
Requirements
Visual Studio Code version 1.96.0 or higher.
Extension Settings
This extension does not require any special settings. It works out of the box.
Known Issues
Large projects may take additional time to process.
Files without a valid extension may not be included in code_files.txt.
Release Notes
1.0.0
Initial release of CodePrintify.
Added support for:
Exporting project folder structure.
Exporting project code files.
Feedback and Contribution
If you encounter any issues or have suggestions for improvement, please open an issue on GitHub.
We welcome contributions! Feel free to submit a pull request on the GitHub repository.