r/AndroidStudio • u/Coltanium131 • 2d ago
Android studio rabbit 2 patch classic code completion not working
/r/androiddev/comments/1xvl5vj/android_studio_rabbit_2_patch_classic_code/
2
Upvotes
1
u/LAMEASSNIBBQ 23h ago
same for me
1
u/Coltanium131 10h ago
So you tried turning off NEP and classic gray ghost text AI auto complete isn't working either?
I felt it was a lot better than NEP too so it's a big loss. NEP doesn't trigger very much. I've only even had it really if you delete something you wrote then maybe it will suggest the same thing again...not very useful..
1
u/DickBrainTime 1d ago
I haven't reproduced Rabbit 2 Patch 1 on Windows, so I can't confirm whether this is a regression, but your description is specifically the gray, Tab-accepted **Gemini inline code completion**, not ordinary Ctrl+Space completion.
Google's current docs say to choose the **traditional AI code completion engine** (not just turn off Next Edit Prediction) in **File > Settings > Tools > AI > Editor**. NEP and classic both use Tab, so they don't run simultaneously. Then check the separate Gemini status-bar menu still has AI code completion enabled, that you're signed in and have granted project context sharing. Traditional suggestions are expected primarily at the **end of a line or on a blank line**—not every cursor position. Reference: https://developer.android.com/studio/gemini/code-completion and https://developer.android.com/studio/gemini/next-edit-prediction
For the bug report you already filed, a helpful A/B would be the same small Kotlin file at end-of-line in (a) a fresh project and (b) your existing project, with the same account/model and the exact Rabbit 2 Patch version. Note whether normal Ctrl+Space completion still works, whether AI is enabled/context allowed, and whether NEP/classic selection actually changed. If it fails in both projects, add those conditions and a redacted log/screenshot to the issue; that distinguishes an engine/settings regression from indexing or project context. Does the Gemini status menu show inline completion enabled after you switch back to classic?