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
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...