Turn off RTL for syntactical characters in bidi lines
See original GitHub issueI 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:
- Created 4 years ago
- Reactions:57
- Comments:15 (1 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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.
🙂 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!