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

前端之家收集整理的这篇文章主要介绍了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.

原文链接:https://www.f2er.com/windows/364722.html

猜你在找的Windows相关文章