Android Studio and AZERTY keyboard

Working with Android studio on my AZERTY keyboard I could not enter curly brackets characters.
Curly brackets on AZERTY keyboard are accessed through ALT GR modifier key.

It turns out you need to adjust some IntelliJ configuration to get it working. As to why this is no default setting I'm not sure.

Here is how to fix it:
  • Open Android Studio.
  • Go to Help > Edit custom properties... to open the relevant configuration file in your editor.
  • Add the following line to that file:
  • Save your changes and restart Android Studio.
Other keyboard layout relying on the on ALT GR modifiers are also bound to be affected by this issue.
There is a StackOverflow post on the subject.

Happy coding!
Last edited: