15

Copy and Paste String (Persian, Arabic) in PHPStorm is Wrong

my string is: به نام خداوند بخشنده مهربان

Describe In image:

Text when pasted

How can this problem be solved?

Warren Sergent
  • 2,542
  • 4
  • 36
  • 42
user3770797
  • 374
  • 5
  • 24
  • 2
    Persian,Arabic is a RTL language right? PhpStorm (as well as other IDEs on IDEA platform) does snot have proper support for editing RTL languages. I do not think it can be resolved from your end unfortunately. Check this ticket for details: http://youtrack.jetbrains.com/issue/IDEABKL-5810 – LazyOne Sep 15 '14 at 15:33
  • 1
    With set `editor.new.rendering=true` in in the file `bin/idea.properties` in Php storm 10 problem solved – ashkufaraz Dec 05 '15 at 17:00
  • Go to this page and submit your issue for helping their developers to fix the problem. https://youtrack-support.zendesk.com/hc/en-us/requests/1651 – anonymox Jan 06 '16 at 07:14

1 Answers1

20

In the install directory, in the file bin/idea.properties, add one of the following:

  • editor.new.rendering=true
    Use the new rendering engine which has rtl support. This is default since PhpStorm 2016.1.
  • editor.disable.rtl=true
    This is only a workaround: characters will simply appear left-to-right instead.
Sygmoral
  • 7,021
  • 2
  • 23
  • 31
  • The new rendering engine solution solved my problem in PS 10, thank you very much! – alaswer Jan 08 '16 at 19:53
  • The new rendering engine option works great in WebStorm 11.0 شكرا – netlander Feb 08 '16 at 15:10
  • 2021 here, and I need to figure this out for WebStorm please... where do I find the install directory for MacOS? It's not in Library/ApplicationSupport/JetBrains... – Devin B. Oct 15 '21 at 22:44