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
- Open Cursor
- Apply any of the above settings in
settings.json
- Restart Cursor
- Open a chat
- 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
- Is there official support for RTL languages in Cursor chat?
- If yes, what are the correct settings to enable RTL support?
- 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.