点击菜单 “Help | Edit Custom VM options…”
添加下面一行到结尾,然后重启Pycharm
-Drecreate.x11.input.method=true