解决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

在 REQUIRED_JVM_ARGS 参数里同样加上 -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)

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>