Skip to content

Tree Viewer for List tabs - #579

Open
Rasmuslnd wants to merge 1 commit into
Kruithne:mainfrom
Rasmuslnd:feature/tree-view
Open

Tree Viewer for List tabs#579
Rasmuslnd wants to merge 1 commit into
Kruithne:mainfrom
Rasmuslnd:feature/tree-view

Conversation

@Rasmuslnd

Copy link
Copy Markdown

Adds a "Tree view" toggle to the file list status bar (models, textures, audio, text, fonts). When enabled, files are shown in a collapsible folder hierarchy built from their paths instead of a flat list:

  • Folders list first at each level with +/- expanders and indentation; clicking a folder expands or collapses it.
  • Selection, ctrl/shift multi-select, arrow-key navigation, the right-click context menu and copy all work in tree mode.
  • Typing in the filter auto-expands matching branches so results stay visible; clearing it restores the collapsed state.
  • The list stays virtualized, so large lists (100k+ entries) scroll with no performance change.

Persists via a new "listboxTreeView" config option (default false, so the flat list remains the default).

Adds a "Tree view" toggle to the file list status bar (models, textures,
audio, text, fonts). When enabled, files are shown in a collapsible folder
hierarchy built from their paths instead of a flat list:

- Folders list first at each level with +/- expanders and indentation;
  clicking a folder expands or collapses it.
- Selection, ctrl/shift multi-select, arrow-key navigation, the right-click
  context menu and copy all work in tree mode.
- Typing in the filter auto-expands matching branches so results stay
  visible; clearing it restores the collapsed state.
- The list stays virtualized, so large lists (100k+ entries) scroll with no
  performance change.

Persists via a new "listboxTreeView" config option (default false, so the
flat list remains the default).
@Rasmuslnd

Copy link
Copy Markdown
Author
Screenshot 2026-06-12 191148

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.

1 participant