cursor icon indicating copy to clipboard operation
cursor copied to clipboard

[Feature Request] Add RTL (Right-to-Left) Support for AI Chat Panel

Open hrkishani opened this issue 8 months ago • 3 comments

Feature Request: RTL Support for AI Chat Panel

Summary: Please add support for Right-to-Left (RTL) text rendering in the AI Chat Panel within Cursor. This is particularly important for users who write in RTL languages such as Persian (Farsi), Arabic, and Hebrew.

Current Behavior: When using the AI Chat Panel to write or read text in RTL languages, the following issues occur:

  • Text alignment defaults to Left-to-Right, causing RTL content to be misaligned.
  • Mixed content (e.g., Persian + English) renders poorly, resulting in confusing and unreadable output.
  • Punctuation, numbers, and inline code appear disorganized due to incorrect text direction.

Expected Behavior:

  • Text written in RTL languages should be aligned right with correct flow.
  • Mixed RTL + LTR content should maintain logical visual order.
  • Ideally, direction should auto-detect based on user input, or be manually toggleable (e.g., with a setting or shortcut).

Use Case: This feature would significantly improve the usability of Cursor for native speakers of RTL languages, especially developers and content writers who rely on clear, readable chat responses from the built-in AI.

Suggested Implementation:

  • Add support for direction: rtl when detecting RTL characters.
  • Allow user settings or context-aware toggling of text direction in the Chat UI.
  • Ensure proper rendering of mixed content.

Additional Notes: This feature already exists in many IDEs, browsers, and editors. Adding it to Cursor's Chat Panel would make the product much more inclusive and globally friendly.

Thank you for your great work on Cursor!

hrkishani avatar May 28 '25 04:05 hrkishani

+1

kianbabai avatar Aug 28 '25 08:08 kianbabai

+1

turkidkil avatar Oct 14 '25 02:10 turkidkil

+1

sahere-rahimi avatar Nov 12 '25 06:11 sahere-rahimi

+1

Anaramer avatar Nov 18 '25 19:11 Anaramer