Skip to content

Gemini is IntelliJ Platform's plugin that auto generate answer in code editor backed by Google's Gemini

License

Notifications You must be signed in to change notification settings

AnBuiii/gemini_plugin

Repository files navigation

Gemini Plugin

Build Version Downloads

new gemini 2

Description

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!

How it works?

Simply get the answer from Google's Gemini API to explain your Kotlin or Java code, and print it in comments block.

How to use?

  • 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

Todo

  • Add some shortcut
  • Add tool window for asked questions and answers
  • Maybe another LLM (ChatGPT, Lllama 2,...)

Contribute

If you want to contribute to this library, you're always welcome!

Plugin based on the IntelliJ Platform Plugin Template.

About

Gemini is IntelliJ Platform's plugin that auto generate answer in code editor backed by Google's Gemini

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages