This extension automatically patches the Antigravity (and VS Code) chat interface to support proper RTL (Right-to-Left) text direction for Arabic scripts.
Features
Auto-Detection: Automatically detects if a paragraph is Arabic or English and sets the direction accordingly (dir="auto").
Antigravity Only: This patch specifically targets the Antigravity chat interface. It does not affect GitHub Copilot, native VS Code chat, or other extensions.
How to Use
Install this extension.
Open the Command Palette (Ctrl+Shift+P).
Run "Enable RTL for Arabic Chat".
Restart Antigravity/VS Code.
To revert:
Run "Disable RTL (Restore Default)".
Restart.
Important: Please run the "Disable RTL" command before uninstalling this extension to ensure the original files are restored. If you have already uninstalled, you can reinstall to run the command, or manually restore from cascade-panel.html.bak.
How it Works
The extension locates the cascade-panel.html file within the Antigravity extension resources and injects a CSS block that forces unicode-bidi: plaintext.
Note: This modifies internal files of another extension. Use at your own risk.