Skip to content
Mosè Giordano edited this page Feb 19, 2021 · 6 revisions

Welcome to the vscode-language-sample wiki!

Right-to-left scripts

We want to provide a straightforward way for users to work with right-to-left (RTL) scripts, such as Arabic. Unfortunately Visual Studio Code doesn't natively support them, as reported several times:

If proper support for RTL scripts was included in Visual Studio Code, there would basically be nothing for us to do in this regard. However we need to work around this limitation. One way to do it is to show the Arabic translation of the text in a separate pane, using webviews, similar to how the default Markdown extension shows the preview of the text, see below for further details.

Webview investigations

We looked at the Markdown preview functionality which is built into VS code.

Clone this wiki locally