In AndroidStudio editor when i select part of a Persian text or RTL language(Persian-Arabic)Letters ,it Messed up.
for example this part of code :
<string name="NetworkConnection">لطفا اتصال اینترنت خود را بررسی نمایید.</string>
But in editor after select part of RTL sentence reshape to this form :
i need to install a plugin or another solution there are?
Edit 1 , Answer :
For Windows OS
users , said responses work correctly.
But for Mac OS
users , according tools.android.com document by below path in AndroidStudio
select Edit Custom Properties
By this , you make idea.properties
file in ~/Library/Preferences/{FOLDER_NAME}/idea.properties
path that you can edit this file and add your properties like editor.new.rendering=true
for RTL Support
in AndroidStudio
editor.
That's a Reported Bug in Android Studio.
https://code.google.com/p/android/issues/detail?id=57667
And according to the comment #19 and #21 this issue is about to solve in Android Studio 2.0 stable release (soon):
comment #19:
Release in Android Studio 2.0. set "editor.new.rendering=true" in in idea.properties as described in http://tools.android.com/tech-docs/configuration
Not turned on by default in IntelliJ 15, but user configurable.
comment #20:
I've added an example for how to configure it in http://tools.android.com/tech-docs/configuration
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.
For Android Studio 1.5 in Windows create file with name "idea.properties" in
C:\Users\ your_user_name_folder \ .AndroidStudio1.5
and write this in the file:
editor.new.rendering=true
I tested it and it works.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With