Search code examples
androideclipseandroid-studiokeyboard-shortcutskeymapping

Android Studio: AltGr + B shortcut not working


I've recently migrated from Eclipse to Android Studio and I had several problems which i mostly solved. One, which I don't have any idea to do with is, that the opening bracket shortcut AltGr+B is not doing anything.

I've tried to:

  • In Settings change the Keymaps to Eclipse | NO SUCCESS
  • Add the line actionSystem.force.alt.gr=true to idea.preferences | ACCESS TO FILE DENIED

Do you have any idea what to do in my case?


Solution

  • Well after hours of research and not finding solution online I've decided to solve it by myself. The thing which solved this issue (and I thing a lot of other shortcut problems) was just: going to Settings -> Keymaps and hitting the "Find actions by shortcut" button on the top right. I've just pressed the shortcut (in my case AltGr+B - which THE SAME shortcut as CTRL+ALT+B) and found out, that this shortcut was assigned to the "Implementation" action. I just right clicked the "CTRL+ALT+B" area and removed the shortcut. After this process everything works well.

    I hope that more people will find the solution here!