Thanks to @jackTabsCode for the original commit that I based my work off of. See: #27703 Release Notes: - Fixed clicking "Collapse All" from context menu on a project root collapsing all project roots instead of that one. - Added new `project panel: collapse selected entry and children` action that collapses the selected directory and all its subdirectories. - Added "Collapse All" option to the context menu for all directories, not just project roots. --------- Co-authored-by: Jack T <jack@jackt.space> Co-authored-by: Smit Barmase <heysmitbarmase@gmail.com>