How to disable "Collect unused imports" after renaming something in Android Studio?

Viewed 78

After renaming anything in Android Studio, it starts a process to collect unused imports and Android Studio just freezes for about 5-10 seconds. This is very annoying. How can I disable this?

I have already disabled "Optimize imports on the fly" under "Auto Import". Unfortunately, that does not have any effect on this behaviour.

0 Answers
Related