Repository navigation
Description
Type: Bug
- Enable
editor.experimentalGpuAcceleration - Set
editor.wordWraptoon,wordWrapColumn, orbounded - Set
editor.wrappingIndenttosame,indent, ordeepindent - Produce conditions with a file open in the Editor to induce line wrapping based on your wordWrap setting
- Use an extension and language that allows for highlighting pairs of open and closing brackets, like XML, for the easiest visibility of the bug
Expected results:
When causing line wrapping, the Editor will respect the wrappingIndent setting and indent the text to match the parent.
Actual results:
The text DOES respect the wrappingIndent setting, but does not graphically respect it, leading to the displayed text to be displaced against column 1 permanently.
Hints like highlighting still appear over where the actual characters are (see screenshots). Text can still be interacted with as normal, and changes to actual text will be displayed in the displaced text.
Changing the wrappingIndent setting to indent or deepIndent from same leads to the editable characters respecting this setting, but the displayed characters do not change in response.
Disabling the experimental acceleration setting and reloading the editor or the application will fix the issue.
Notes:
I did verify that this seems to occur regardless of theme used. Persists through restarts.
Screenshots were taken with the following settings:
editor.experimentalGpuAcceleration = off|on
editor.wordWrap = on
editor.wrappingIndent = same
VS Code version: Code 1.106.2 (1e3c50d, 2025-11-19T16:56:50.023Z)
OS version: Windows_NT x64 10.0.19045
Modes:
System Info
| Item | Value |
|---|---|
| CPUs | AMD Ryzen 9 3900X 12-Core Processor (24 x 3793) |
| GPU Status | 2d_canvas: enabled direct_rendering_display_compositor: disabled_off_ok gpu_compositing: enabled multiple_raster_threads: enabled_on opengl: enabled_on rasterization: enabled raw_draw: disabled_off_ok skia_graphite: disabled_off trees_in_viz: disabled_off video_decode: enabled video_encode: enabled vulkan: disabled_off webgl: enabled webgl2: enabled webgpu: enabled webnn: disabled_off |
| Load (avg) | undefined |
| Memory (System) | 63.91GB (45.76GB free) |
| Process Argv | --crash-reporter-id 19d82e41-8664-41bd-b572-8b50753ec9b1 |
| Screen Reader | no |
| VM | 0% |
Extensions (7)
| Extension | Author (truncated) | Version |
|---|---|---|
| gitignore | cod | 0.10.0 |
| git-project-manager | fel | 1.8.2 |
| vscode-dotnet-runtime | ms- | 2.3.7 |
| python | ms- | 2025.18.0 |
| vscode-xml | red | 0.29.0 |
| vscode-yaml | red | 1.19.1 |
| lua | sum | 3.15.0 |
(1 theme extensions excluded)
Activity
jake05050505 commentedon Dec 4, 2025
I experienced the same issue somewhat recently, and found that with word-wrap turned OFF, there was no horizontal scrollbar, and the editor viewport was locked horizontally, meaning there was no way to access horizontally overflowing text. Shift+MW Up/Down didn't scroll sideways, as it is supposed to.
Tyriar commentedon Dec 8, 2025
/duplicate #238404