You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can honestly dare to say that this is the best open source editor for web developers but, the missing of the small things like the Arabic language support is really frustrating!!
alexandrudima yes I mean to work with source code files containing Arabic or Hebrew.
Reacted by Eyal, Mohamed Elkebir, Siavash, Reza Moallemi, abdullahseba, Tareq Ibrahim, Bader Nasser Al-Hashmi, atlanteh, Iddan Aaronsohn, LinArcX and 300 more
Reacted by Mohammad Sadeq KH, Andrew Talbot, amine louni, Shenepoy, Zubair Temi, UsetIT, Amin Benarieb, Sajjad Ziaenezhad Shirazi, Hassan Hedr, Mosè Giordano and 41 more
Reacted by Daniyal Ahmadi, yazanzaid00, mbbyn, Dan, Ammar Elbehery and electriquo
Reacted by Mohammad Sadeq KH, amine louni, Zubair Temi, Amin Benarieb, Sajjad Ziaenezhad Shirazi, Hassan Hedr, Mohammad Khalid Hussain, pyzenberg, Arad Alvand, Ali Moezzi and 24 more
Yeah, I'm in the same boat when it comes to Hebrew., even though I don't use Hebrew much in my daily day job, especially when it comes to development but this can come in handy at times so 👍 from me.
Reacted by Mohamed Elkebir, Al Jazeera Bros, Siavash, abdullahseba, atlanteh, Iddan Aaronsohn, Michoel Samuels, Hamza Abdullah, MDjavaheri, Taitu Lizenbaum and 30 more
Al Jazeera Bros (@HamzaAbdullahMoh)eyalsk Do you mean you'd want VSCode to be translated to Arabic or Hebrew or do you mean that you cannot work with source code files containing Arabic or Hebrew ?
Reacted by Al Jazeera Bros and Raddah
Reacted by hassanKhademi, Abdelkarim Ben Hamida, Ehsan sarshar and Hesham Natouf
alexandrudima Well, I'll speak for myself, I refer to the capability that allows people to write from right-to-left as opposed to left-to-right.
Translation isn't needed, I don't use the Hebrew translation at all in any program that I use so personally it's less useful for me but maybe some people would want that too.
Reacted by Al Jazeera Bros, Reza Moallemi, AB, OdedYaron, David Refoua, Latiif AlSharif, Suhayb Alghutaymil, Zev Spitz, vhhughes, Itai Levi and 17 more
I think this should be labeled as a requested feaure
Reacted by Al Jazeera Bros, Reza Moallemi, Erfan Mehraban, David Refoua, Ahmed Badawy, hassanKhademi, Mohammad Khalid Hussain, Abdelkarim Ben Hamida and electriquo
alexandrudimaMohamed Elkebir (@elkebirmed)Habib Kazemi (@kazemihabib)eyalskRamya Rao (@ramya-rao-a)
First of all, a huge thank you for all of you.
What I really meant is that if I can edit the text in the code itself not the interface, because half of my time I develop sites which they include Arabic texts.
I am sure some of you had to write some rtl text and find it hard with most of text editors!!
Reacted by Mohamed Moursi, David Refoua, mahdi1696, Latiif AlSharif, Itai Levi, Mohammad Sadeq KH, Yahya Elharony, Erel Segal-Halevi, Mohammadreza Ghofrani, Dante Marshal and 10 more
Reacted by Al Jazeera Bros, Mohamed Elkebir, Dante Marshal and Michael Fraiman
Reacted by Mohammad Sadeq KH, Tarek M. Sayed, الوسط and Issam Seghir
Just to clarify, the problem is that RTL words get messed up:
rtlB rtlA looks like rtlA rtlB
rtlD rtlC engA engB rtlB rtlA looks like rtlA rtlB engA engB rtlC rtlD
Reacted by Iddan Aaronsohn, Eyal, Reza, Hamza Abdullah, Mohamad Ibrahim, Mohamed Moursi, Farshid Mossaiby, David Refoua, hayker, Salem Yaslem and 22 more
So overly complex (and likely entirely wrong from the very beginning), that's how it had things 3D broken:
Differently broken in Different implementations in Different manner...
Several countries have switched the alphabet to workaround the issue.
So overly complex (and likely entirely wrong from the very beginning), that's how it had things 3D broken: Differently broken in Different implementations in Different manner...
Several countries have switched the alphabet to workaround the issue.
What?!! Countries switch alphabets for political reasons, not for technical reasons, especially when it's been solved over and over again. Bidi works perfectly fine in Firefox, Chrome, Internet Explorer, Edge, Safari, Office, LibreOffice, GEdit, Kate, Notepad++, Gnome Builder, ......
The list of apps that got bidi correctly is very long. It's not complex if you are a good programmer.
we have also strange behaviour with the editor and arabic language.
Issue: Arabic keywords with hashtags pasted into the query will flip the hashtag symbol to the start of the keyword instead of the end. Spacing is incorrect, and attempting to modify the keywords in the code will not edit where the cursor header is positioned
STEPS TO RECREATE
copy and paste the following hashtag into the editor: #اليوم_العالمي_للتصلب_المتعدد the hashtag will move to the opposite side of the keyword.
When you copy the keyword, it will add extra spacing.
It's 2024 and our Farsi scripting language is about to release RC version, and still, there is no support for RTL languages.
Hamit Zekeriya (Hamed Zakeri Miyab) (@Hamcker) We were also waiting for VS Code RTL support while working on Alusus programming language (which has support for RTL scripting), but eventually we gave up and ended up forking Gnome Builder instead. Reach out if you want to give that a try, it's not hard to add Farsi localization and support for your new scripting language. Not as powerful as VS Code, but better than nothing.
I did this method, there was no problem in js, but there was a problem with jsx format and html Do you know the problem, why it shows the codes like this in the editor?
iAhmadKarmola's design likely considered the JS only.
The direct cause for your problem is:
The regular texts and the XML tag delimiters' presentation are not separated per the highlighter's design. (i.e. they are put in the same HTML tag)
Thus the "direction: rtl" would apparently break things.
.
Similar should also occur if you just disable syntax highlighting.
It would be greatly beneficial if support for right-to-left (RTL) text orientation could be added to VSCode, particularly for languages such as Persian and Arabic. While the inclusion of these languages is not essential, ensuring that text in these languages displays correctly, especially in chatbot interfaces like Copilot AI Chat, would vastly improve the user experience for many developers.
Additionally, I suggest that VSCode should automatically detect the text direction and set it accordingly without manual configuration. This would enhance convenience for users writing in RTL languages.
Reacted by asgmojtaba, skydeveloperg, megira and Mehdi Hesami
This also affects the GitHub Copilot Chat experience in VS Code for Persian and other RTL users.
In Copilot Chat, natural-language messages are often written entirely in Persian/Arabic, while code blocks, file paths, commands, and inline code should remain LTR. Without RTL-aware rendering or a per-surface direction setting, the chat is much harder to read than the same text in an RTL-capable editor/viewer.
A useful behavior for Copilot Chat would be:
direction: auto or equivalent RTL detection for chat message text.
Right alignment for RTL natural-language paragraphs.
Apply consistently to both user prompts and Copilot responses.
This is not only an editor text issue anymore; Copilot Chat has become a primary reading/writing surface in VS Code, so RTL support there would significantly improve usability for Persian and Arabic users.
Activity
soyeyalon commentedon Sep 9, 2016
Yeah, I'm in the same boat when it comes to Hebrew., even though I don't use Hebrew much in my daily day job, especially when it comes to development but this can come in handy at times so 👍 from me.
alexdima commentedon Sep 12, 2016
Al Jazeera Bros (@HamzaAbdullahMoh) eyalsk Do you mean you'd want VSCode to be translated to Arabic or Hebrew or do you mean that you cannot work with source code files containing Arabic or Hebrew ?
soyeyalon commentedon Sep 13, 2016
alexandrudima Well, I'll speak for myself, I refer to the capability that allows people to write from right-to-left as opposed to left-to-right.
Translation isn't needed, I don't use the Hebrew translation at all in any program that I use so personally it's less useful for me but maybe some people would want that too.
elkebirmed commentedon Sep 16, 2016
I think Al Jazeera Bros (@HamzaAbdullahMoh) want to see an RTL vscode editor as an option, and this will be so helpful
This's the needed information i think 😄
kazemihabib commentedon Sep 19, 2016
👍
elkebirmed commentedon Sep 20, 2016
I think this should be labeled as a requested feaure
HamzaAbdullahMoh commentedon Sep 23, 2016
alexandrudima Mohamed Elkebir (@elkebirmed) Habib Kazemi (@kazemihabib) eyalsk Ramya Rao (@ramya-rao-a)
First of all, a huge thank you for all of you.
What I really meant is that if I can edit the text in the code itself not the interface, because half of my time I develop sites which they include Arabic texts.
I am sure some of you had to write some rtl text and find it hard with most of text editors!!
atlanteh commentedon May 30, 2017
Just to clarify, the problem is that RTL words get messed up:
rtlB rtlA looks like rtlA rtlB
rtlD rtlC engA engB rtlB rtlA looks like rtlA rtlB engA engB rtlC rtlD
177 remaining items
MasterInQuestion commentedon Dec 22, 2023
So overly complex (and likely entirely wrong from the very beginning), that's how it had things 3D broken:
Differently broken in Different implementations in Different manner...
Several countries have switched the alphabet to workaround the issue.
sarmadka commentedon Dec 25, 2023
What?!! Countries switch alphabets for political reasons, not for technical reasons, especially when it's been solved over and over again. Bidi works perfectly fine in Firefox, Chrome, Internet Explorer, Edge, Safari, Office, LibreOffice, GEdit, Kate, Notepad++, Gnome Builder, ......
The list of apps that got bidi correctly is very long. It's not complex if you are a good programmer.
MasterInQuestion commentedon Dec 26, 2023
The technical cause contributes.
Please trace the relevant posts first.
Hamcker commentedon Feb 12, 2024
It's 2024 and our Farsi scripting language is about to release RC version, and still, there is no support for RTL languages.
MasterInQuestion commentedon Feb 12, 2024
I tried to address the issue... But really couldn't figure out how.
See: https://github.com/MasterInQuestion/talk/discussions/2
jgmention commentedon Feb 15, 2024
we have also strange behaviour with the editor and arabic language.
Issue: Arabic keywords with hashtags pasted into the query will flip the hashtag symbol to the start of the keyword instead of the end. Spacing is incorrect, and attempting to modify the keywords in the code will not edit where the cursor header is positioned
STEPS TO RECREATE
copy and paste the following hashtag into the editor: #اليوم_العالمي_للتصلب_المتعدد the hashtag will move to the opposite side of the keyword.
When you copy the keyword, it will add extra spacing.
sarmadka commentedon Feb 16, 2024
Hamit Zekeriya (Hamed Zakeri Miyab) (@Hamcker) We were also waiting for VS Code RTL support while working on Alusus programming language (which has support for RTL scripting), but eventually we gave up and ended up forking Gnome Builder instead. Reach out if you want to give that a try, it's not hard to add Farsi localization and support for your new scripting language. Not as powerful as VS Code, but better than nothing.
mohmmadView commentedon Mar 10, 2024
#11770 (comment)
I did this method, there was no problem in
js, but there was a problem withjsxformat andhtmlDo you know the problem, why it shows the codes like this in the editor?I would be grateful if anyone could help

)
MasterInQuestion commentedon Mar 11, 2024
iAhmadKarmola's design likely considered the JS only.
The direct cause for your problem is:
The regular texts and the XML tag delimiters' presentation are not separated per the highlighter's design. (i.e. they are put in the same HTML tag)
Thus the "direction: rtl" would apparently break things.
.
Similar should also occur if you just disable syntax highlighting.
Eventually the unsolvable part in [ https://github.com/microsoft/vscode/issues/11770#issuecomment-1819265075 ].
mohmmadView commentedon Mar 13, 2024
Élise (@MasterInQuestion) Yes, exactly
hesami commentedon Nov 2, 2024
It would be greatly beneficial if support for right-to-left (RTL) text orientation could be added to VSCode, particularly for languages such as Persian and Arabic. While the inclusion of these languages is not essential, ensuring that text in these languages displays correctly, especially in chatbot interfaces like Copilot AI Chat, would vastly improve the user experience for many developers.
Additionally, I suggest that VSCode should automatically detect the text direction and set it accordingly without manual configuration. This would enhance convenience for users writing in RTL languages.
MasterInQuestion commentedon Nov 6, 2024
Bi-Disorder unsolvable:

"این یک متن نمونه به زبان فارسی است - بدی-راستچین متن"
"HTML در RTL" or "LTR در HTML"... Total bemuddled.
Address Bar Spoofing due to Arabic RTL characters
https://bugzilla.mozilla.org/show_bug.cgi?id=1704422
mehdisadeghi commentedon Dec 28, 2025
fwiw here is the workaround I used to fix the visual alignment for reading (not for writing):
ericchaindev commentedon May 30, 2026
This also affects the GitHub Copilot Chat experience in VS Code for Persian and other RTL users.
In Copilot Chat, natural-language messages are often written entirely in Persian/Arabic, while code blocks, file paths, commands, and inline code should remain LTR. Without RTL-aware rendering or a per-surface direction setting, the chat is much harder to read than the same text in an RTL-capable editor/viewer.
A useful behavior for Copilot Chat would be:
direction: autoor equivalent RTL detection for chat message text.This is not only an editor text issue anymore; Copilot Chat has become a primary reading/writing surface in VS Code, so RTL support there would significantly improve usability for Persian and Arabic users.