android-studioeditorauto-import

Android Studio editor: how to disable blue popup of import suggestions


Apparently with the latest upgrade to Android Studio (2.2.2 built 18 oct 2016), it now displays blue popup hints (AKA Auto Import Suggestions) in the editor, hovering over the line where you have your cursor if there is a syntax or other error in the line. In the snip below, the cursor is under the carat.

enter image description here

How can I disable these? They are blocking the code I'm trying to read !

The do disappear after a few seconds but every time I move the cursor they reappear. Horribly annoying.

The old version produced a yellow hint popup, but only if you hover the mouse over the line with an error. (This version still has that behavior.)


Solution

  • Go To Preferences > Editor > General > Auto Import

    In Java section uncheck Show import popup and Show import suggestions for static methods and fields.

    Hope this helps!!