r/AndroidStudio • • 17d ago

Android studio rabbit 2 patch classic code completion not working

/r/androiddev/comments/1xvl5vj/android_studio_rabbit_2_patch_classic_code/
2 Upvotes

9 comments sorted by

View all comments

Show parent comment

1

u/DickBrainTime 2d ago edited 1d ago

Ctrl+Space working doesn't mean Gemini's inline completion is working. In Settings > Tools > AI > Editor, look for classic/traditional code completion. Just disabling NEP may not switch it back. Here's Google's completion guide.

If that option is missing, share your exact Rabbit 2 patch and a screenshot of the settings page (hide account info). A Google AI Pro subscription isn't an AI Studio API key, so I wouldn't buy a key just to debug this.

1

u/Coltanium131 16h ago

Hey there, yeah there is no toggle for classic ai auto complete. The docs say just turning off NEP turns back on the AI auto complete from what I read (or how I interpreted it). Or is there actually a checkbox for classic mode? Do you have a screenshot or anything? Maybe that is missing for me? I only have an NEP checkbox. (I'm on windows)

For the API key part of my question it's regarding the second nested check box option of the NEP. There is a drop-down that is empty they I believe is for off cursor edits that can only be enabled with API key or some other model? Not sure exactly what it means.

Yeah in the bug I filed I share my log file.

In the bug they replied back about NEP is the way forward. I posted the article about them saying how to re enable classic AI auto complete but no reply yet..maybe they just broke it or something?

Bug tracker: https://issuetracker.google.com/issues/585623225

Article about choosing the auto complete type: https://developer.android.com/studio/gemini/next-edit-prediction#choose-completion-engine

1

u/DickBrainTime 14h ago

You're right; I was wrong to imply there's a separate Classic checkbox. I checked your issue: Google's Nov 26 reply says classic completion is being replaced by NEP, while its docs still say you can switch back. Your Rabbit 1 test and logs are already there, so that contradiction needs an official answer. The extra model picker is separate; I wouldn't buy an API key to chase classic completion.