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.
- 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 thedocssubdirectory. - Supports multiple programming languages (e.g., JavaScript, Python, Java, C++, Ruby, Go).
- Clean up code by improving naming conventions, simplification, and refactoring.
To install the zipDemon extension for Visual Studio Code:
- Open Visual Studio Code.
- Go to the Extensions view by clicking the Extensions icon in the Activity Bar on the side of the window.
- Search for "zipDemon" and click on "Install."
Alternatively, you can install it from the Visual Studio Code Marketplace.
-
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 thedocssubdirectory.- 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.
- JavaScript
- Python
- Java
- C++
- Ruby
- Go
- Dart
- PHP
- C#
- TypeScript
- 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.
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!