Weird autocomplete bug (Android Studio 2024.1.2 Ca...
# intellij
r
Weird autocomplete bug (Android Studio 2024.1.2 Canary 6). Two enum entries, one begins, one ends with R. If I start typing
.R
, it somehow top-matches the first enum, the one which ends with R, first? 🤯 But this is hard to reproduce consistently. For the most part it seems to be doing the right thing.
e
If it's Android Studio only and not Intellij it might be better in #android-studio and/or filing a bug on issuetracker
k
Does it only happen when you add punctuation after the R, as in your screenshot? Perhaps the punctuation makes it think the R is the last letter.
r
Perhaps it was the comma yes, but even then it happened and afterwards I could not reproduce. (Not sure if IJ has the same issue)
c
In File | Settings | Editor | General | Code Completion, you may want to enable "Mark position changes in the completion popup". This will let you know if it's the find usage algorithm or the AI ranker that gives this order. If it's the AI ranker, it's probably because that's the one you use most often
thank you color 1