-
Notifications
You must be signed in to change notification settings - Fork 35.5k
Open
Labels
staleIssues that have not been triaged in an appropriate amount of timeIssues that have not been triaged in an appropriate amount of timetriage-needed
Description
Currently, VS Code does not provide a way for extensions to specify text direction for languages that are written right-to-left (RTL), which leads to incorrect rendering since the editor assumes left-to-right (LTR).
I propose introducing a new textDirection
field in languageConfiguration that accepts "ltr"
or "rtl"
, with "ltr"
as the default. There is already an implementation for RTL based on Decorations (see PR: #255455), so this would build on existing support. If the maintainers agrees, I would be happy to work on a PR for this feature.
Metadata
Metadata
Assignees
Labels
staleIssues that have not been triaged in an appropriate amount of timeIssues that have not been triaged in an appropriate amount of timetriage-needed