Problem:
The Chat panel in Cursor renders all text left-to-right (LTR). For users who communicate with the AI in RTL languages (Hebrew, Arabic, Persian, Urdu), the text appears misaligned and difficult to read. Paragraphs start from the left, punctuation is misplaced, and the overall reading experience is poor.
Current behavior:
- Chat responses in Hebrew/Arabic display LTR
- No setting exists to change chat text direction
editor.unicodeBidirectionalTextHandlingonly affects the code editor, not the chat panel
Requested feature:
- Auto-detect RTL text in chat responses and apply
direction: rtl; text-align: right;to those paragraphs - OR add a user setting like
"chat.textDirection": "auto" | "ltr" | "rtl" - This should apply to both user messages and AI responses in the chat panel
Why it matters:
- Hebrew, Arabic, Persian, and Urdu are spoken by ~600M+ people worldwide
- Many developers in Israel, UAE, Egypt, Iran, and other countries use Cursor daily
- The AI assistant works perfectly in these languages — the only problem is the display
- This is a CSS-level fix (
direction: rtl) — technically simple but high impact
Suggested implementation:
A simple approach would be to detect the Unicode script of the first meaningful character in each paragraph. If it falls in the RTL range (Hebrew: U+0590-U+05FF, Arabic: U+0600-U+06FF), apply RTL styling to that block.
Thank you for building an amazing product. RTL support would make it even better for a large community of developers.
