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/Coltanium131 15d ago edited 15d ago

I have toggled off the NEP. No classic inline completion. Also, there is no dedicated toggle to turn on classic. Either it's a bug and missing, or I thought I read somewhere that toggling off NEP is supposed to bring back classic AI code completion. Or where is the dedicated toggle?

I have signed out and back in. Normal suggestions work, crtl space.

I wonder if it's not recognizing my Gemini pro subscription? Once you enable the NEP checkbox toggle, another toggle is nested under it for off cursor predictions or something. But it says it requires a Google AI studio API key or another model, but the drop-down list is empty. Like maybe it's bugged out? That could be a root cause?

Before this update I was using normal AI ghost text completions all the time just fine.

The bottom right Gemini status bar icon only has info about NEP when it's toggled on..it goes away when it's toggled off. No icon there anymore.

I'm almost certain context sharing is on since it worked before and normal AI agent I'm the right side bar works fine. But where do I double check the context sharing toggle? Like the permissions for AI are granted if that's what you mean

Also, for NEP, when it's enabled, there is another checkbox below about off cursor predictions or something, but it has a warning that says you can only enable it if you have other models or a Google AI studio API key. I have Gemini pro, but that doesn't count to use the off cursor option does it? So I only would get standard NEP if I even wanted to toggle it on?

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.