Skip to content

[Project Folder View] Collapse All/"Only expand to current" #4306

@benryhenson

Description

@benryhenson

Is your feature request related to a problem? Please describe.

In the case that the project has a lot of nested folders, the folder view becomes hard to navigate, especially when folder names are ambiguous. User has to manually collapse each folder.

Describe the solution you'd like.

At the most basic level, a "Collapse All" button can be added on the top of Project folder view near the title to collapse all expanded folders.

With an additional LOE there can be a toggleable setting to "Only expand to current", i.e., collapse all folders other than the one containing the currently active file in the editor.

Describe alternatives you've considered.

if "expandedProjectPaths" in the tiled project session were exposed to the Tiled API, it could be scripted externally.

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureIt's a feature, not a bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions