Exafunction / CodeiumJetBrains

Codeium JetBrains Plugin
MIT License
49 stars 14 forks source link

Migrate to a new Inline Completion API #22

Open BarracudaPff opened 8 months ago

BarracudaPff commented 8 months ago

Hi! For a long time, IntelliJ Platform lacked a built-in API to display inline completion (aka gray text completion). As a result, many plugins, including Codeium, implemented it from scratch. In the latest 2023.3 release, the IntelliJ platform added an API for inline completion.

This new API allows developers to design plugins that enable inline completion, simplifying the process considerably. The primary benefit of this new API is that it enables multiple plugins to operate simultaneously, effectively enhancing overall system integration and compatibility.

The new built-in API is not compatible with implementations of other plugins, potentially causing two independent gray texts within the editor. We kindly invite you to explore the possibility of integrating our new API into your plugin at your earliest convenience. Your collaboration is crucial in achieving better synchronization between plugins for inline completion with the IntelliJ platform, thereby boosting the overall user experience.

Should you encounter any limitations or require additional features, please do not hesitate to let us know. We’re committed to ensuring this new API meets your requirements and improves the overall IntelliJ environment.

Here is our issue tracker.

Please migrate to the new API, you can find the entry points below:

It should cover all your features with current implementation and even more.

Thank you in advance!

rohanphadte commented 8 months ago

Thanks for this update! I'm one of the devs at Codeium, and we're glad to see built-in API support! We'll add this to our roadmap, but it may not be immediate as we have customers on Intellij versions pre 2023 release.

Appreciate the additional feature on the JetBrains development platform!