[FEATURE] Add RTL (right-to-left) support for the chat panel
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
Title: Add RTL (right-to-left) support for the chat panel
Feature Request: RTL Support for Claude Code Chat Panel
Problem
The Claude Code chat panel does not support RTL text direction.
For users who write primarily in Hebrew, Arabic, or other RTL languages,
the entire chat interface (input, messages, layout) is displayed LTR,
which makes the experience uncomfortable and harder to read.
Proposed Solution
Add an option in settings to set the chat panel direction to RTL:
"claude.chat.textDirection": "rtl" // or "ltr" (default)
This would apply dir="rtl" to the root element of the chat Webview.
Alternatively
Auto-detect the user's OS/VS Code locale and set direction accordingly.
Impact
This is a small code change (likely a single attribute + CSS tweak)
but significantly improves usability for RTL language users.
Environment
- VS Code extension (Webview panel)
- Affects: chat input, Claude responses, panel layout
Proposed Solution
Great question! Here's my vision for the ideal RTL experience in Claude Code:
Ideal UX for RTL Support
Setting
A simple setting in VS Code settings:
"claude.chat.textDirection": "auto" // "auto" | "ltr" | "rtl"
auto mode (default)
Detects the user's VS Code display language
Hebrew (he) or Arabic (ar) → RTL automatically
Everything else → LTR
What changes visually in RTL mode
Element RTL behavior
Chat input box Text starts from the right
My messages (user) Aligned to the right
Claude's responses Aligned to the right
Sidebar buttons (copy, thumbs up) Move to the left side
Scrollbar Moves to the left
Code blocks Stay LTR (code is always LTR)
The critical detail about code blocks
Code blocks should always remain LTR — only the surrounding prose switches to RTL. This is the standard behavior in browsers for mixed-direction content (e.g. GitHub, Notion).
How I'd interact with it
I open Claude Code → panel is already RTL because my VS Code is in Hebrew
I type in Hebrew → text flows naturally right-to-left
Claude responds → Hebrew prose is RTL, any code snippets inside are LTR
No toggle needed — it just works
Alternative Solutions
_No response_
Priority
Critical - Blocking my work
Feature Category
CLI commands and flags
Use Case Example
_No response_
Additional Context
_No response_
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗