Strange key mapping in Android Studio
Add this line:
actionSystem.force.alt.gr=true
to this file:
...\Android\android-studio\bin\idea.properties
As written here: http://youtrack.jetbrains.com/issue/IDEA-91975
Yes, well... its problem with "old" keyboards. Newer keyboards don't have Alt Gr
keys and IDE doesn't count on this in default.
Solutions:
- Buy a new keyboard with no
Alt Gr
on it (using rightAlt
instead ofAlt Gr
is working for me) - Go to
File -> Settings -> Keymap
and search for implementation - deleteCtrl + Alt + B
, hit "Apply" and you can now use this shortcut for "{" As already mentioned below... add following line to
..\<Android Studio folder>\bin\idea.properties
:actionSystem.force.alt.gr=true
(update) Since newer version of AS (not sure which one, should be 2.3.3+), you don't need to manually access the properties file. Go to
Help -> Edit Custom Properties
and addactionSystem.force.alt.gr=true
there.