Alt-gr not working on PyCharm
Answered
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.
Please sign in to leave a comment.
The problem is known https://youtrack.jetbrains.com/issue/IDEA-209426, please upvote and follow for updates.
See this comment for a temporary workaround https://youtrack.jetbrains.com/issue/PY-34816#focus=streamItem-27-3366765.0-0
Updated today to PyCharm 2019.1. Had the same problem and fixed it by changing registry
In PyCharm click Ctrl + Shift + A. Then write registry and click on it. Find actionSystem.fix.alt.gr and uncheck it.
Then it should work (at least it did for me)
Same issue here with french keyboard after updating PyCharm. Resolved by changing JDK embeded in PyCharm to system JDK :
PyCharm -> Help -> Find Action... -> Entrer "switch" to find "switch IDE Boot JDK" :
EDIT : Unckecked "actionSystem.fix.alt.gr" in PyCharm registry works. Thanks Josip !
EDIT 2 : Updated PyCharm today, ALT+GR doesn't work anymore, had to check "actionSystem.fix.alt.gr" + restart to make it work.
I confirm that swiching to JDK1.8 solves the problem.
Hi Sergey,
It has already been done.
Precisely, the problem appeared after the 2019.1 update;
I'm sorry but I already have 2019.1 version :(
Confirmed.
Problem solved with the IDE Boot JDK switch, thanks for helping us!
Hi Sergey,
Yes I have got the issue with the last version of 2019.1.
If I return to 2018.3 version, I have not got this type of problem.
It's probably related to https://youtrack.jetbrains.com/issue/IDEA-209477 then :(
Try switching IDE to run under 1.8 JDK https://intellij-support.jetbrains.com/hc/en-us/articles/206544879
Same issue here with french keyboard since 2019.1 EAP
Unchecking actionSystem.fix.alt.gr also works for me with JB JDK1.11
Unchecking actionSystem.fix.alt.gr works like a charm ... Sweet!
Thanks Josip Komljenovic
Unchecking actionSystem.fix.alt.gr in Registry works for me
Hi :-)! The switch to Java 1.8 fixed for me too. Thanks for the solution!
It seems the issue resurfaced in IntelliJ 2020.1. I wasn't able to make it work by changing the registry values.
Windows 10, Hungarian keyboard
Hi,
You probably face this issue https://youtrack.jetbrains.com/issue/IDEA-206348
I have the same issue and I don't know how to fix it.
I have got the same issue. I have got an Italian keyboard and I need the ALT GR key..
Please update to 2019.1 https://www.jetbrains.com/pycharm/download and see if problem remains.
Same issue here after upgrading from 2019.1 EAP. No more Python coding w/o a chance to enter [] or {} on my keyboard. Sergey, could you please elaborate on "switching IDE to run under 1.8 JDK"?
Thanks Josip Komljenovic.
Now it is working!
If anybody else is still stuck on this, for me unchecking actionSystem.fix.alt.gr didn't work, but unchecking actionSystem.win.suppressAlt did the trick.
Another one with the same problem after updating PyCharm. The registry fix worked :) Thanks!
http://www.elifelse.com/genel/pycharm-altgr-sorunu/ Solved problem at this site !!!!!!!!!!!!
Latest PyCharm update (PC-191.6605.12) fixed the problem "for good".
I am a bit confused. I have the latest PyCharm Version and sometimes "alt gr" stops working during a session. What are the defaults in the registry? Assuming that non default values are highlighted in bold blue font, I have:
If I uncheck the force option, alt gr stops working.
Version info:
PyCharm 2019.1.1 (Professional Edition)
Build #PY-191.6605.12, built on April 3, 2019
JRE: 11.0.2+9-b159.34 amd64
Like Alexlampe I had to check force.alt.gr. It doesn't matter what I set fix.alt.gr to be; therefore I left it at the default (checked) setting. Same version but community edition.
Thx @Elifgsavukcam
All the others didn't work, but yours did.
Just check actionSystem.force.alt.gr and that worked instantly without restarting anything
Hello, switching to Zulu OpenJDK 1.8 also solves the problem in macOS Mojave.
Martin I am on 2020.1 (build @PY-201.6668.115 of April 7, 2020) and I can confirm Alt-Gr is working fine on my Windows 10 with Belgian Azerty keyboard.