[Project Folder View] Collapse All/"Only expand to current"
@rhythmcache is already working on this.
Since Feb 23, 2026.
- Dominant language
- C++
- Stars
- 12.9k
- Forks
- 2k
- Avg merge
- 4h 27m
- Merged PRs (30d)
- 8
Description
### 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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.