6

I installed the 2019.1 community edition of PyCharm on a Windows 10 Pro yesterday. Everything works perfectly except that I cannot type #, [, or ].

I use a French keyboard, and these keys are accessed with a combination of AltGr and an upper row digit (for example, AltGr+3 is #). This works in all other programs except PyCharm.

Copy and pasting these into PyCharm works, but it's very tedious.

timotree
  • 1,148
Blaise
  • 63

4 Answers4

7

A workaround from this issue:

  • Under Help|Find action, type 'registry'
  • The first hit is 'Registry...', click it
  • You must see the a key-value panel, uncheck the 'actionSystem.force.alt.gr' item
0

With the new version 2019.1.1 JetBrains fixed the issue. This is the link to the release notes. I restored the 'Registry...' to defaults and all combinations with the AltGr key still work fine with version 2019.1.1.

Using a German keyboard layout, I was affected by the issue, too.

0

I was facing the same/similar issue (AltGr key didn't work anymore in PyCharm with my German keyboard, so I couldn't type things like [] or {})

My solution was similar to LaManoServidas answer, only difference:

  • I had to check the 'actionSystem.force.alt.gr' item. It was unchecked, but when I checked it, my problem was solved.
0

With the version 2019.2 (2019-07-23), the workaroud is :

You can check what boot JDK is used in "Help | About".