windows – RTL(波斯语 – 阿拉伯语)字母在android studio编辑器中搞砸了

AndroidStudio编辑器中,当我选择部分波斯文本或RTL语言(波斯语 – 阿拉伯语)字母时,它会搞砸.

例如这部分代码:

<string name="NetworkConnection">لطفا اتصال اینترنت خود را بررسی نمایید.</string>

但是在编辑器中选择部分RTL语句后重构为这种形式:

我需要安装一个插件或其他解决方案吗?

编辑1,答案:

对于Windows操作系统用户,表示响应正常.

但对于Mac OS用户,根据tools.android.com document by AndroidStudio中的路径选择Edit Custom Properties

通过这个,您可以在〜/ Library / Preferences / {FOLDER_NAME} /idea.properties路径中创建idea.properties文件,您可以编辑此文件,并在AndroidStudio编辑器中为您的属性添加类似editor.new.rendering = true的RTL支持.

这是Android Studio中的一个报告错误.

https://code.google.com/p/android/issues/detail?id=57667

根据评论#19和#21,这个问题即将在Android Studio 2.0稳定版本中解决(很快):

评论#19:

Release in Android Studio 2.0. set “editor.new.rendering=true” in in
idea.properties as described in
07001

Not turned on by default in IntelliJ 15,but user configurable.

评论#20:

I’ve added an example for how to configure it in
07001

This is not going to be a user configurable option; we plan to enable it by default as soon as we’ve tested it and confirmed that its performance and stability is satisfactory.

相关文章

Windows2012R2备用域控搭建 前置操作 域控主域控的主dns:自...
主域控角色迁移和夺取(转载) 转载自:http://yupeizhi.blo...
Windows2012R2 NTP时间同步 Windows2012R2里没有了internet时...
Windows注册表操作基础代码 Windows下对注册表进行操作使用的...
黑客常用WinAPI函数整理之前的博客写了很多关于Windows编程的...
一个简单的Windows Socket可复用框架说起网络编程,无非是建...