Fix Arabic RTL rendering via per-line detection#311934
Fix Arabic RTL rendering via per-line detection#311934molhamfetnah wants to merge 1 commit intomicrosoft:mainfrom
Conversation
📬 CODENOTIFYThe following users are being notified based on files changed in this PR: @rzhao271Matched files:
|
|
@microsoft-github-policy-service agree |
This comment was marked as spam.
This comment was marked as spam.
There was a problem hiding this comment.
Pull request overview
This PR aims to fix incorrect Arabic RTL rendering in the editor by adding an opt-in, per-line RTL auto-detection path in the editor view model.
Changes:
- Added
rtlAutoDetecteditor option and used it inViewModeltext-direction resolution (decorations override; otherwise detect RTL per line). - Added browser unit tests validating RTL auto-detect behavior and decoration overrides.
- Added additional repository/workflow artifacts (settings contribution, MCP config, docs, and an Arch WebKit helper script).
Reviewed changes
Copilot reviewed 8 out of 8 changed files in this pull request and generated 8 comments.
Show a summary per file
| File | Description |
|---|---|
src/vs/workbench/contrib/preferences/common/preferencesContribution.ts |
Attempts to register a new setting in preferences contribution. |
src/vs/editor/test/browser/viewModel/viewModelImpl.test.ts |
Adds tests for RTL auto-detection and decoration overrides. |
src/vs/editor/common/viewModel/viewModelImpl.ts |
Implements per-line RTL detection when the new option is enabled. |
src/vs/editor/common/config/editorOptions.ts |
Adds rtlAutoDetect option to editor options and enum. |
scripts/install-webkit-compat-deps.sh |
Adds an Arch-specific helper that installs packages and creates system library symlinks. |
docs/rtl-246116-progress-report.md |
Adds a detailed progress report / environment notes for the issue. |
.vscode/mcp.json |
Adds MCP server entries including GitHub PAT prompt wiring. |
.github/copilot-instructions.md |
Expands repo Copilot instructions and adds an issue-specific workflow section. |
6dfc54f to
b0e86bf
Compare
|
Addressed Copilot review: CI should now pass cleanly. GIFs recording! @alexdima |
|
@copilot apply changes based on the comments in this thread |
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
8548cf0 to
4cf12e6
Compare
|
@alexdima Force-pushed a clean branch after review feedback. Waiting on required checks + maintainer approval. Thanks! |
|
@alexdima quick ping: could you please approve workflows for this fork PR so required CI can start? |
|
Update on #311934 (fixes #246116):
Validation run on this branch:
This is ready for maintainer review. |
Fixes #246116
Before/After GIFs + repro in PR body