看到Netbeans上类似问题的解决办法:
/Applications/netbeans/NetBeans 6.7.1/Content/Resource/netbeans/etc/netbeans.conf
netbeans_default_options 里加入
-J-Djava.awt.im.style=on-the-spot
类似,找到PhpStorm的启动文件:/Applications/PhpStorm 2.1.2.app/bin/idea.sh
在 REQUIREDJVMARGS 参数里同样加上 -J-Djava.awt.im.style=on-the-spot
REQUIRED\_JVM\_ARGS=“-J-Djava.awt.im.style=on-the-spot -Xbootclasspath/a:../lib/boot.jar $IDEA_PROPERTIES_PROPERTY $REQUIRED_JVM_ARGS”;
可以输入中文了!(via)
本文介绍了一种在Netbeans和PhpStorm等IDE中解决中文输入无法正常显示的问题的方法。通过在启动配置文件中添加特定的JVM参数,使得在这些IDE中能够顺利进行中文输入。
5692

被折叠的 条评论
为什么被折叠?



