I don't know why it never dawned on me to try this...
# compose-desktop
s
I don't know why it never dawned on me to try this in IDEA before, but when you're importing something like a TextField, and you always have to choose between
material
and
material3
even though you always want
material3
, you can just press the number 3 when the import selection popup appears. IDEA just filters the list based on your input. I know it does this on other popups because I use it all the time, but I've just had some mental disconnect with this specific popup until today. I've been going from keyboard to mouse to select the import, then back to the keyboard to work. Every. Single. Time.
j
Great tip, I've been doing this for a while. Most of the lists that pop up in IntelliJ can be filtered like this, it's great 😃
s
You can also use the right-arrow options next to an import to ask IntelliJ not to suggest it again!
✅ 1
😲 1
today i learned 5
I just discovered this yesterday 😅
😄 1