How to change the shortcut for rejecting code hints in Android Studio Panda?


I do not want to disable code suggestions completely. I only want to change the shortcut for dismissing the current suggestion while typing.

By default, Android Studio assigns this action to Esc, but it is inconvenient for me to reach that key every time I want to reject a suggestion.

My current AS version:
Android Studio Panda 2 | 2025.3.2

0
May 11 at 11:38 AM
User AvatarStanisław Olszak
#android#android-shortcut

Accepted Answer

You just need to search for it in the settings:

Settings / Preferences → Keymap → Focus to Editor

If that option isn't available, try clicking the search icon, pressing the Esc key, and then looking there.

Once you've found it right-click > Add keyboard shortcut and enter a new shortcut...

User AvatarStanisław Olszak
May 11 at 11:38 AM
2