https://kotlinlang.org logo
Title
p

pablisco

04/09/2019, 3:55 PM
I’m having a very bizarre issue. In one of our modules (which is an Android lib module) we have Kotlin enabled but only a couple of Kotlin files. On all of them, when I try to do an auto complete it puts in the full path instead of adding an import at the top of the file. Has anyone observed this behaviour before? I’ve tried googling, but I’m not sure how to phrase it simply for Google to understand it (Hopefully I was clear here 😅)
r

Rafa

04/09/2019, 3:56 PM
Do you have more than one of the same type that you're importing?
p

pablisco

04/09/2019, 4:05 PM
Nope, it happens with any import, even
Intent
I added some extra details to this SO (including a gif): https://stackoverflow.com/questions/55668592/android-studio-doesnt-autocorrect-imports It’s now happening on a different project.