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.

RTL layout for paragraphs starting with

See original GitHub issue

#11770 is so vague that I can’t even understand what is the requested feature… a clear and achievable change to VSCode for RTL is I believe starts from this, please make a paragraph RTL if it starts with RTL text.

Steps to reproduce: Put this on gedit:

متن
متن
متن
متن
text
text
text
text

image

Now try the same with VSCode

image

Expected: Easily achievable by adding dir=auto to div element and remove dir=ltr from the span, I just did it for the first line

image

Alternatively, you can put a switch (toggle-able with command switch, something like > Toggle Direction) and apply document direction switch to whole document and detect whether a document needs RTL direction behind the scene, if you don’t like per paragraph direction setting.

Issue Analytics

  • State:open
  • Created 5 years ago
  • Reactions:27
  • Comments:12

github_iconTop GitHub Comments

6reactions
sarmadkacommented, Mar 11, 2019

What’s the status of this? I am also looking for this solution, and it looks like many people are looking for it as well.

3reactions
ebraminiocommented, Aug 18, 2019

Thanks for the report. Let’s not confuse the issues which is the case with #11770, you report should be fixed with #78867 which filed separately to avoid confusion. Thanks

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to set text or paragraph as RTL or LTR? - Zoho Cares
To set text or paragraph as RTL or LTR, go to More Options(☰) > Format > Paragraph > click on the LTR icon...
Read more >
Introduction to typing and using RTL (Right to Left) text, and ...
Paragraphs can be configured to RTL in Format → Paragraph → Alignment → Text Direction. General RTL compatibility and associated toolbar buttons can...
Read more >
Right-to-left language support and bidirectional text
A great example of right-to-left language support: Microsoft Word; Bidirectional text; English and Arabic/Hebrew text together: ...
Read more >
Right-to-left Styling - RTL Styling 101
Notice for the RTL section, the text reads from right to left, which is the opposite of the LTR text. Luckily, the browser...
Read more >
How to switch writing direction (LTR/RTL) in Word 2007?
Word left-to-right/right-to-left handling (LTR/RTL) works on two levels ...
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