question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Turn off RTL for syntactical characters in bidi lines

See original GitHub issue

I am editing a document that has English, Hebrew, and Arabic in it. The cursor movement is based on the language the cursor is on so it jumps in different directions. Inserting and appending text is also unpredictable.

For example, if a line is: Peace | שלום | and I paste at the end of the line : سلام It will become: Peace | שלום | سلام I want it to be: Peace | سلام | שלום Editing the line is also difficult.

Here is a similar request on SO: https://stackoverflow.com/questions/54538844/disable-right-to-left-editing-in-vscode-in-mixed-language-files

I’d like the ability to easily turn on and off RTL while I’m editing or have the ability to override RTL for the entire document.

Issue Analytics

  • State:open
  • Created 4 years ago
  • Reactions:57
  • Comments:15 (1 by maintainers)

github_iconTop GitHub Comments

22reactions
aradalvandcommented, Apr 3, 2021

No updates on this one?! This makes any line of code that has both English and RTL languages in it completely confusing. The behavior should be just like Visual Studio, the current behavior of VSCode is incorrect. Wish you’d give a little more attention to this issue.

4reactions
vscodebot[bot]commented, Jan 16, 2020

🙂 This feature request received a sufficient number of community upvotes and we moved it to our backlog. To learn more about how we handle feature requests, please see our documentation.

Happy Coding!

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to use Unicode controls for bidi text - W3C
Changing the base direction ; RLI, RIGHT-TO-LEFT ISOLATE, U+2067, dir = "rtl", ditto, but for RTL ; FSI, FIRST-STRONG ISOLATE, U+2068, dir =...
Read more >
Writing Direction and Bidirectional Text FAQ - Unicode
Their behavior in bidirectional text layout depends on the details of their proximity to other characters of strong right-to-left or left-to-right direction.
Read more >
The twisted road through right-to-left language support
These include things such as new-line characters, tabs, ... Let's go over what goes on in that horrific textbox for a minute.
Read more >
core/java/android/text/BidiFormatter.java
the string with Unicode bidi formatting characters: RLE+{@code str}+PDF for RTL text, or. * LRE+{@code str}+PDF for LTR text.
Read more >
Should there be a warning for code containing bidirectional ...
Is there any reason to allow bidi characters at all? They are mainly useful for mixing LTR and RTL languages, which isn't very...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found