Skip to content

Commit 613c78b

Browse files
committed
feat: add docs for collapse folders
1 parent 02b1edf commit 613c78b

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

docs/05-file-management.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,6 @@ The File Tree updates automatically, but if files or folders appear missing, use
3434
You can also assign or update keyboard shortcuts for any File Tree action through the context menu.
3535
See the [Keyboard Shortcuts Guide](./Features/keyboard-shortcuts) for complete details.
3636

37-
---
38-
3937
### Sorting Files and Folders
4038

4139
By default, the File Tree sorts folders first (in ascending order), followed by files.
@@ -52,3 +50,15 @@ See [Editing Preferences](./editing-text#editing-preferences) for details.
5250
Now, files and folders are sorted together in one ascending list.
5351
![File tree sorted](./images/fileManagement/file-tree-sorted.png "File Tree sorted")
5452
> Notice how the `images` folder now appears in alphabetical order with other items.
53+
54+
### Collapse All Folders
55+
56+
The **Collapse All Folders** feature helps you quickly reset your view by collapsing all expanded folders to their root level, leaving only the top-level items visible in the File Tree.
57+
58+
To collapse all folders:
59+
1. Hover over the File Tree header at the top-right.
60+
2. Click the `collapse icon` (two arrows pointing toward each other) that appears.
61+
62+
<VideoPlayer
63+
src="https://docs-images.phcode.dev/videos/file-management/collapse-folders.mp4"
64+
/>

0 commit comments

Comments
 (0)