Skip to content

Open All Changes does not respect diffEditor.hideUnchangedRegions.enabled #5692

Description

@shoulders

Description

Background
While developing my software I want to revert a historic commit but because there has been so many changes I need to do this manually so I use Open All Changes to see the changes and then manually apply the changes to the working tree.

I need more than the context lines allow to see what is going on in my code so i just want to unhide all lines using diffEditor.hideUnchangedRegions.enabled.

I am aware I can change the context lines shown above and below, and these values work as expected, but some times you just want that sweet toggle you can bind to a key combination.

The Issue
diffEditor.hideUnchangedRegions.enabled works for normal VSCode diff compares but this is ignored when I use Open All Changes or Open All Changes with Working Tree through GitLens.

It should be notes that on the diff compare it has multiple files but I assume this is the same for a single file diff compare done through GitLens.

**Specific Instructions

  1. Open Vscode Settings
  2. find diffEditor.hideUnchangedRegions.enabled and untick it
  3. Navigate to the GitLens panel
  4. Find the required commit (filtering is optional)
  5. Click on the Open All Changes icon
  6. view the diff

The diff still has hidden lines

Additional
I am posting this as a bug because I don't think it is a feature when the GitLens diff editor already uses a lot of the VSCode diff editor settings.

GitLens Version

18.3.0

VS Code Version

Version: 1.132.0 (user setup)
Commit: df53daabb18cd157bdb08c7f01c34df936cf12f4
Date: 2026-08-04T15:30:20Z
Electron: 42.7.1
ElectronBuildId: 14760073
Chromium: 148.0.7778.280
Node.js: 24.18.0
V8: 14.8.178.38-electron.0
OS: Windows_NT x64 10.0.26200

Git Version

git version 2.55.0.windows.3

Logs, Screenshots, Screen Captures, etc

diffEditor.hideUnchangedRegions.enabled set to false

Image

Open All Changes button

Image

A an example diff compare opened from Open All Changes

You can see the hidden lines

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    triageNeeds to be looked at

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions