Alt-gr not working on PyCharm


Fellow programmers,

I am entirely unable to use the ALT-GR key, or even the CTRL+ALT combination into PyCharm, whenever I try to use it unless I'm in the terminal, where it works.

This sounds very strange to me and it's sending me crazy, because I'm unable to type any bracket, having an Italian keyboard.  


Thank you in advance,

Take care.


None of the above helped.

Build #IU-202.7660.26, built on October 6, 2020
Runtime version: 11.0.8+10-b944.34 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Windows 10


Hi Talosdx,

Could you please follow for the further steps? Thank you!


I have the opposite problem. I usually set the altgr+comma shortcut for line comments, however, because the combination of AltGr with other keys generates alternative characters, I cannot assign this combination of keys as my shortcut. How can I fix this? or how do I disable the AltGr character generation?

I have tried with changing the Registry for related flags, but nothing happens.

I have Pycharm Pro 2021.1


Please sign in to leave a comment.