RTL Support for Chat Messages in Cursor

Here’s a detailed description of the issue for the Cursor forum:

RTL Support for Chat Messages in Cursor

I need to align chat messages (both user and assistant responses) to the right side and set their text direction to RTL (Right-to-Left) in Cursor. I want the user’s messages to appear on the right side and the assistant’s responses also on the right side, with proper RTL text direction for better readability of Persian/Farsi language.

I’ve tried various settings in settings.json, including editor.direction, workbench.direction, chat.defaultDirection, cursor.chat.alignment, and other related settings, but none of them seem to affect the chat display. The messages remain left-aligned with LTR (Left-to-Right) direction.

Is there a way to configure Cursor’s chat interface to support RTL languages properly? If so, what are the correct settings to achieve this?

Issue Description

I’m trying to align chat messages (both user and assistant) to the right and set their text direction to RTL (Right-to-Left) for better support of RTL languages like Persian/Farsi. However, none of the direction and alignment settings seem to affect the chat display.

What I’ve Tried

1. VS Code Standard Settings

json
{
“editor.direction”: “rtl”,
“workbench.direction”: “rtl”,
“terminal.integrated.direction”: “rtl”,
“debug.console.direction”: “rtl”
}

2. Chat-Specific Settings

json
{
“chat.defaultDirection”: “rtl”,
“chat.defaultAlignment”: “right”,
“chat.messages.alignment”: {
“user”: “right”,
“assistant”: “right”
},
“chat.messages.direction”: {
“user”: “rtl”,
“assistant”: “rtl”
}
}

3. Cursor-Specific Settings

json
{
“cursor.chat.alignment”: “right”,
“cursor.chat.direction”: “rtl”,
“cursor.chat.defaultDirection”: “rtl”,
“cursor.chat.defaultAlignment”: “right”
}

4. Local State Configuration

json
{
“profile”: {
“text_direction”: “rtl”,
“chat_direction”: “rtl”,
“chat_alignment”: “right”
}
}

Environment

  • OS: Windows 10
  • Cursor Version: Latest
  • Language: Persian/Farsi

Steps to Reproduce

  1. Open Cursor
  2. Apply any of the above settings in settings.json
  3. Restart Cursor
  4. Open a chat
  5. Observe that messages remain left-aligned with LTR direction

Expected Behavior

  • Chat messages should be right-aligned
  • Text direction should be RTL for better readability of RTL languages

Question

  1. Is there official support for RTL languages in Cursor chat?
  2. If yes, what are the correct settings to enable RTL support?
  3. If not, are there plans to add RTL support in future updates?

Documentation Reference

I’ve checked the official documentation at https://docs.cursor.com/ but couldn’t find specific information about RTL support or chat direction settings.

2 Likes

Hi,

I’m also facing the issue of missing Right-to-Left (RTL) support in Cursor’s chat messages. When typing in languages like Persian, Arabic, or Hebrew, the text alignment and direction do not display correctly, making it difficult to read and understand messages.

Considering that many users rely on RTL languages, does the development team plan to add support for RTL in future updates? If this feature is not currently on the roadmap, is there any way to manually adjust the settings to enable proper RTL support?

Looking forward to your response and guidance. I hope this feature gets implemented soon.