/DevoxxGenieIDEAPlugin

DevoxxGenie is a plugin for IntelliJ IDEA that uses local LLM's (Ollama, LMStudio, GPT4All and Jan) and Cloud based LLMs to help review, test, explain your project code.

Primary LanguageJavaMIT LicenseMIT

Devoxx Genie

Devoxx Genie is a fully Java-based LLM Code Assistant plugin for IntelliJ IDEA, designed to integrate with local LLM providers such as Ollama, LMStudio, GPT4All and Jan but also cloud based LLM's such as OpenAI, Anthropic, Mistral, Groq, Gemini and DeepInfra.

We now also support LLM-driven web search with Google and Tavily.

This plugin aids in reviewing, testing, and explaining your project code, enhancing your development workflow.

Marketplace

DevoxxGeniev0.1-p1-720p.mp4

Key Features:

  • 100% Java: An IDEA plugin using local and cloud based LLM models. Fully developed in Java using Langchain4J
  • Explain: Explain code using local and cloud-based LLM's.
  • Review: Review and improve your code using local and cloud-based LLM's.
  • Test: Generate unit tests for your code using local and cloud-based LLM's.
  • Code Highlighting: Supports highlighting of code blocks.
  • Chat conversations: Supports chat conversations with configurable memory size.
  • Add files & code snippets to context: You can add open files to the chat window context for producing better answers or code snippets if you want to have a super focused window
  • LLM enabled Web Search: With support for Google and Tavily

See new features in action @ https://www.youtube.com/watch?v=7IJrKIS1eN8

GenieExample

We now support also streaming responses which you can enable in the Settings page 🤩 🚀

StreamingResponse.mp4

Installation:

  • From IntelliJ IDEA: Go to Settings -> Plugins -> Marketplace -> Enter 'Devoxx' to find plugin OR Install plugin from Disk
  • From Source Code: Clone the repository, build the plugin using ./gradlew buildPlugin, and install the plugin from the build/distributions directory and select file 'DevoxxGenie-X.Y.Z.zip'

LLM Settings

In the IDEA settings you can modify the REST endpoints and the LLM parameters. Make sure to press enter and apply to save your changes.

We now also support Cloud based LLMs, you can paste the API keys on the Settings page.

DevoxxGenieSettings

Requirements:

  • IntelliJ minimum version is 2023.3.4
  • Java minimum version is JDK 17

Build

Gradle IntelliJ Plugin prepares a ZIP archive when running the buildPlugin task.
You'll find it in the build/distributions/ directory

./gradlew buildPlugin 

Publish plugin

It is recommended to use the publishPlugin task for releasing the plugin

./gradlew publishPlugin

Usage:

  1. Select an LLM provider from the DevoxxGenie panel (right corner)
  2. Select some code
  3. Enter shortcode command review, explain, generate unit tests of the selected code or enter a custom prompt.

Enjoy!