InteliJ IDEA 2017.1 (and other JetBrains IDEs) update brings support for the national keyboard layouts on macOS.
What does it mean?
When using a keyboard layout different from the standard English layout the IDE will now execute an action that is mapped to the exact character you've pressed on the keyboard.
This behaviour now works by default.
Please note that only the lower-case characters are taken into account.
Before version 2017.1 the IDE executed an action mapped to the character on the key you've pressed as if it were an English keyboard layout.
How to go back to the old behaviour?
Please go to the menu Help | Edit Custom VM Options and add the following property to the file:
Then restart the IDE.
Please also consider customising the IDE keymap to best fit your expectations in Preferences | Keymap.