Google Gemini and OpenAI Support
This release of DocGPT 0.0.4 introduces the ability to switch between Google Gemini and OpenAI for generating documentation.
What's New
Switching Between Google Gemini and OpenAI
You can now choose between Google Gemini and OpenAI as the provider for generating documentation.
- Settings Update: Navigate to
Settings
>Tools
>DocGPT
to switch providers. - API Key Management: Enter the respective API key, model, and the maximum number of tokens for the selected provider.
Improved UI
- Updated settings panel with a dropdown menu for selecting the provider.
- Enhanced user interface for easier configuration and management.
Screenshots
Generated Doc Comment
Settings
Installation
- Download and install the plugin from the JetBrains Marketplace.
- Navigate to
Settings
>Tools
>DocGPT
to add your API key.
Usage
- Open a file in Java, Kotlin, or Dart.
- Select the function name with the cursor.
- Press
Alt + Enter
. - Choose
Generate doc comment
from the menu.
Important Notes
- Currently, the plugin only generates doc comments for functions.
- The plugin is still under development and has not been extensively tested yet.
- Feedback and suggestions to improve the plugin are welcome.
- Use at your own risk.
Future Plans
- Support for more LLMs
- Setting the function context scope
Contributing
Contributions are welcome. Please open an issue or submit a pull request on the GitHub repository.
Feedback
For feedback, questions, or suggestions, please create an issue on the GitHub repository.