[FEATURE] RTL (Right-to-Left) support for chat UI in VSCode extension

Resolved 💬 5 comments Opened Feb 8, 2026 by shafiee974 Closed Mar 26, 2026

Preflight Checklist

  • [x] I have searched existing requests and this feature hasn't been requested yet
  • [x] This is a single feature request (not multiple features)

Problem Statement

Claude Code's chat UI in the VSCode extension only supports LTR (left-to-right) text direction. For users who communicate in RTL languages such as Persian (Farsi), Arabic, and Hebrew, the chat messages appear misaligned and difficult to read. The text starts from the left side, punctuation gets misplaced, and the overall reading experience is poor and confusing.

Proposed Solution

Add automatic RTL detection and support for the chat UI in the VSCode extension. Ideally:

  1. Auto-detect the text direction based on the content language (Unicode Bidi algorithm)
  2. Align RTL messages to the right side with proper text direction
  3. Alternatively, provide a setting like "claude-code.textDirection": "auto" | "ltr" | "rtl" in VSCode settings to let users manually set their preferred direction

Alternative Solutions

Currently, the only workaround is using third-party extensions like "Custom CSS and JS Loader" to inject custom CSS with direction: rtl into VSCode's webview. This is fragile, breaks on updates, and is not an ideal solution.

Priority

Medium - Would be very helpful

Feature Category

Other

Use Case Example

Example scenario:

  1. I'm a Persian-speaking developer using Claude Code in VSCode
  2. I type my questions and instructions in Persian (Farsi)
  3. Claude responds in Persian as well
  4. All messages appear left-aligned with broken text flow - punctuation marks appear on the wrong side, and mixed Persian/English text is very hard to read
  5. With RTL support, messages would automatically align correctly based on language, making the chat usable for RTL language speakers

Additional Context

This affects all RTL language users including Persian, Arabic, Hebrew, and Urdu speakers. Many other chat applications (Telegram, WhatsApp, Slack) handle RTL automatically using Unicode Bidi detection. VSCode's editor itself supports RTL, so the extension's chat webview should also support it.

View original on GitHub ↗

This issue has 5 comments on GitHub. Read the full discussion on GitHub ↗