In-editor code generation (Ctrl+\) not working in 2026.2.2, CLion and PyCharm
I recently update the the newest version in both IDEs. Suddenly the inline code completion is gone. Neither the shortcut keys works nor the context menu entries exists. I configured AI Assistant to an external OpenAI provider, remaining parts are still JetBrains AI Assistant. But I'm quite sure this is not the reason.
I switched back to version 2026.2.1, now it works again.
I have no time to make a deeper analysis, I cannot switch versions back and forth - so sorry, no more extra information here.
请先登录再写评论。
Thank you for reporting the problem with the code generation and inline code completion. These features depend on the capabilities of the configured AI model, and inline code completion specifically requires Fill-in-the-Middle (FIM) support, which general-purpose third-party models may not offer.
Recent IDE versions, including 2026.2.2, enforce stricter checks on model compatibility, which likely explains why the feature stopped working after your update.
To resolve this, please check your AI Assistant settings:
1. Go to Settings | Tools | AI Assistant | Providers & API keys.
2. In the AI Completion section, ensure that either JetBrains is selected as the provider, or if using an OpenAI-compatible provider, the Model field is set to Not selected unless your chosen model is explicitly recognized as compatible for code completion.
3. We recommend enabling JetBrains AI alongside your external provider to ensure all features are available. You can do this in the same settings panel by clicking Activate JetBrains AI.
If the issue persists after these adjustments, you may submit a support ticket here: https://intellij-support.jetbrains.com/hc/en-us/requests/new?product=ai_assistant, and we'll look into the root cause.
Thank you for your response. I am pretty sure I tried to disable the third party provider at all, it didn't help (maybe some project settings survived which makes trouble in 2026.2.2 only). Below is the setting I use in 2026.2.1 without problems. Updating to 2026.2.2 it doesn't work anymore.