VS Code Extensions
Arabic RTL for Claude Code

Arabic RTL for Claude Code

by brahim-chai

RTL support for Arabic, Hebrew & Persian inside Claude Code — auto-detects language and switches input direction instantly

Downloads

96

Rating

5.0 / 5 (1)

Version

0.3.0

Last updated

Jun 28, 2026

Automatically enables Right-to-Left (RTL) text direction inside Claude Code for VS Code when writing in Arabic, Hebrew, or Persian.

Features

  • Auto mode ⭐ — Detects Arabic/Hebrew text and applies RTL automatically per message and per input
  • Active mode — Adds a toggle button ع inside Claude Code's interface
  • Always mode — Applies RTL to all text unconditionally
  • Smart input — Switches input direction based on the first character typed (Arabic → RTL, Latin → LTR)
  • Code blocks preserved — Terminal output, code, and tool results stay LTR

How it works

The extension directly patches Claude Code's bundled webview/index.css and webview/index.js files to inject RTL support. A backup is created before any changes, and the extension automatically re-injects after Claude Code updates.

Usage

  1. Press Ctrl+Shift+R (or click the status bar item)
  2. Choose a mode from the quick-pick menu
  3. Reload the VS Code window when prompted
  4. Open Claude Code — RTL is now active

Modes

Mode Description
Auto ⭐ Detects Arabic/Hebrew in each message and applies RTL per element
Active Adds a toggle button inside Claude Code
Always Forces RTL on all text
Off Removes all RTL modifications and restores original files

Requirements

Commands

Command Shortcut
Arabic RTL: Choose mode Ctrl+Shift+R
Arabic RTL: Auto (recommended) —
Arabic RTL: Toggle button —
Arabic RTL: Always —
Arabic RTL: Disable —

Notes

  • After enabling/disabling, reload the VS Code window (Developer: Reload Window)
  • The extension automatically re-applies RTL after Claude Code updates
  • Code blocks, terminal output, and tool results always remain LTR

Related extensions