例如这部分代码:
<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支持.
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
07001Not turned on by default in IntelliJ 15,but user configurable.
评论#20:
I’ve added an example for how to configure it in
07001This 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.