Skip to content

[Feature]: Implement Tree View for Diff File List #1109

Closed

Description

@AmethystLiang

Problem or use case

Currently, the diff file list in IDE appears to be a flat list. When reviewing large Pull Requests or changesets with deep directory structures, it can be difficult to:

Understand the architectural context of the changes.

Quickly navigate between related files in the same subdirectory.

Manage the cognitive load of a long, unsorted list of file paths.

Proposed solution

I would like an option to toggle between a Flat View and a Tree View in the diff sidebar.

The Tree View should:

Group files by their directory structure.

Allow folders to be collapsed/expanded to hide or reveal the files within them.

Provide visual nesting (indentation) to clearly show hierarchy.

Ideally, show "compact" empty folders (e.g., src/main/java/...) to save vertical space.

Alternatives or additional context

Search/Filter: Using a search bar to find files (useful, but doesn't provide the same structural overview).

Flat List with Full Paths: This is the current state, which becomes unwieldy in large projects.

Activity

  1. added a commit that references this issue on May 2, 2026
    fce32c1
  2. added theissue type on Jul 12, 2026
  3. added a commit that references this issue on Oct 15, 2026
    7e96900
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions