Using a locally hosted LLM in IntelliJ IDEA

IntelliJ IDEA provides the possibility to use AI assistance in programming through its own "AI Assistant." However, this has two major drawbacks:

  1. It runs in the cloud, meaning your code leaves your control sphere and could even be used for further training of models.
  2. It is a paid service.

This has so far prevented many developers from using it for work.

However, with the plugin "CodeGPGT" there is a very simple and comfortable way to host a coding-specialized LLM locally on your computer and use it for assistance.

In the following, I will provide you with a step-by-step guide on how to install and use this plugin.

  1. Install the plugin
  2. Configure the plugin
  3. Using the plugin

Further information about the plugin can be found here