A VS Code extension that automatically generates clean, well-documented code by providing concise summaries of classes, methods, and functions. Ideal for maintaining organized, readable projects effortlessly.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
zipDemon is a Visual Studio Code extension that automatically generates documentation for supported programming languages. It leverages an AI-powered language model to provide an explanation of the code, along with a summary of classes, functions, and variables identified within the file. The generated documentation is saved as a Markdown file (README.md) in a docs subdirectory within the same directory as the source code file.
Features
Automatically generates documentation for classes, functions, and variables.
Uses AI-powered language model (Gemini API) for code explanation.
Saves the generated documentation as a Markdown file (README.md) in the docs subdirectory.
Open the project directory that contains the code you want to document.
Right-click on the source code file in the Explorer view.
Select Turn on zipDemon from the context menu.
The extension will analyze your code, generate a Markdown documentation file (README.md), and save it in the docs subdirectory.
The generated documentation will include an AI-powered explanation of the code and a list of identified classes, functions, and variables.
You can also use the Generate Clean Code command to clean up the code in your active editor. This will improve the naming conventions, simplify logic, and refactor the code.
Supported Languages
JavaScript
Python
Java
C++
Ruby
Go
Dart
PHP
C#
TypeScript
Contributing
Fork the repository.
Create a new branch (git checkout -b feature/your-feature).
Commit your changes (git commit -am 'Add new feature').
Push to the branch (git push origin feature/your-feature).
Create a new Pull Request.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Enjoy using zipDemon to automate your documentation and code cleanup process in Visual Studio Code!