carlrobertoh / CodeGPT

JetBrains extension providing access to state-of-the-art LLMs, such as GPT-4, Claude 3, Code Llama, and others, all for free
https://codegpt.ee
Apache License 2.0
912 stars 186 forks source link

Support IntelliJ Idea 2021.3 #512

Open Krivich opened 2 months ago

Krivich commented 2 months ago

Describe the need of your request

Is it possible to support old IntelliJ Idea 2021.3 in new builds? Due to corporate bureaucracy I have to use old license and can't update to the modern IntelliJ but last CodeGPT builds are not supporting old IntelliJ. Me and a dozens of my colleagues appreciate if this great plugin support IntelliJ 2021.3+. Thanks!

Proposed solution

Publish build for 2021.3+

Additional context

No response

carlrobertoh commented 2 months ago

Hi

Supporting older IDE builds means that I have to maintain each build separately from the master branch due to their compatibility issues. Every new feature/fix must be single-handedly picked, resolved, and tested, which unfortunately means a lot of maintenance overhead and takes time away from new features.

However, I'm not throwing out the idea yet.

Krivich commented 2 months ago

I understand your pain and really appreciate your efforts! Sorry, I can't help much but I can share some ideas if you want:

  1. Engineering approach: extract API-dependent code into isolated modules and load them dynamically. Most probably this approach may help maintain all versions in one branch in one build.
  2. Organization approach: low frequency of old API releases. For example at every 5 release for modern-API , build release for the old API.