Skip to content

Fix wrappingIndent in accessibility mode#316384

Open
1821746019 wants to merge 1 commit into
microsoft:mainfrom
1821746019:fix/298865-wrapping-indent-accessibility
Open

Fix wrappingIndent in accessibility mode#316384
1821746019 wants to merge 1 commit into
microsoft:mainfrom
1821746019:fix/298865-wrapping-indent-accessibility

Conversation

@1821746019
Copy link
Copy Markdown

Fixes #298865

This change removes the accessibility-specific override that forced editor.wrappingIndent to none, so the editor now respects the user-configured wrapping indent even when accessibility support is enabled.

It also adds a regression test covering AccessibilitySupport.Enabled together with wrappingIndent: 'indent'.

Validation:

  • Editor diagnostics report no errors in the changed files.
  • VS Code - Build could not run in this environment because deemon is missing.
  • npm run compile-check-ts-native could not run in this environment because tsgo is missing.

Copilot AI review requested due to automatic review settings May 14, 2026 09:28
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes editor.wrappingIndent being ignored when accessibility support is enabled by removing the accessibility-mode override and adding a regression test.

Changes:

  • Removed forced WrappingIndent.None behavior in accessibility mode.
  • Added a test that verifies wrappingIndent: 'indent' is preserved with AccessibilitySupport.Enabled.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
src/vs/editor/common/config/editorOptions.ts Removes the accessibility-specific wrapping indent override.
src/vs/editor/test/browser/config/editorConfiguration.test.ts Adds regression coverage for wrapping indent in accessibility mode.

@1821746019
Copy link
Copy Markdown
Author

@microsoft-github-policy-service agree

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

The 'Editor: Wrapping Indent' setting fails to take effect, possibly due to config synchronization issues in the remote environment.

3 participants