I really do not expect IntelliJ to recommend &...
# intellij
r
I really do not expect IntelliJ to recommend & autocomplete with the second option here
r
What's wrong?
r
Well it should just select the first option, not the second
r
For me the first option is the one I get if I just press enter
So I don't see the issue?
r
Not for me. IntelliJ tries to be smart
I probably used
isNotEmpty
one or more times recently and so it thinks that’s what I’ll want to use
r
I don't recall IntelliJ ever defaulting to anything other than the first option for me
r
No it selects the option where the background is little more clear, in my first screenshot it’s the second one. See here, it selects
error(…)
if I autocomplete
r
Turn off "sort by name" in the menu in the bottom left of the select
Perhaps that isn't it... I can replicate by typing
isN
, hitting CTL-SPACE, deleting the
N
and adding an
E
. But if go back to the start, type
isE
and hit CTL-SPACE I get
isEmpty
highlighted as expected.
w
You can try turning off
Machine Learning Code Completion
plugin, perhaps, if you have it enabled?