(转)解决Mac OS X上PhpStorm不能输入中文

看到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)

原文地址:https://www.cnblogs.com/yaoliang11/p/3985620.html