Gemini is Intellij Platform's plugin that auto generate answer in code editor backed by Google's Gemini.
This is an open source project developed by AnBui only for education purpose!
Simply get the answer from Google's Gemini API to explain your Kotlin or Java code, and print it in comments block.
- Get the API key: https://aistudio.google.com/app/apikey
- Save it somewhere because you never see it again
- Install plugin:
- Use IDE built-in plugin system: Settings > Plugins > Marketplace > Search for "Gemini" > Install
- Or download latest release (the signed .zip) and manually install: Settings > Plugins > ⚙️ > Install plugin from disk...
- Enable the plugin: Settings > Tools > Gemini > Tick Enable Gemini? > Insert your API Key > Apply
- Select anything on editor > Right click > Explain this! > Get the answer
- Add some shortcut
- Add tool window for asked questions and answers
- Maybe another LLM (ChatGPT, Lllama 2,...)
If you want to contribute to this library, you're always welcome!
Plugin based on the IntelliJ Platform Plugin Template.