问题描述 centos环境下安装idea,在进行程序编辑增加注释时不能输入中文。 解决方式 Help–> Edit Custom VM Options, 在最后一行加入内容: -Drecreate.x11.input.method=true 然后重启idea即可!