# (Un) Fold all nested tags

**URL:** <https://forum.obsidian.md/t/un-fold-all-nested-tags/10745>\
**Category:** Feature requests\
**Created:** [January 1, 2021, 5:11pm UTC](https://forum.obsidian.md/t/un-fold-all-nested-tags/10745 "2021-01-01T17:11:21Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![dkowalski](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/d/c89c15/32.png) [@dkowalski](https://forum.obsidian.md/u/dkowalski)\
**Post date:** [January 1, 2021, 5:11pm UTC](https://forum.obsidian.md/t/un-fold-all-nested-tags/10745/1 "2021-01-01T17:11:21Z")

</div>

### Use case or problem

In the case of having many nested tags, we get a long list. It is unfolded

### Proposed solution

- add an option to fold all / unfold all nested tags in Tag Pane
- it should be saved - may be a parameter in the config of this panel?

### Current workaround

- Click on each parent tag in Tag Pane to close all of them - every time when Vault or Obsidian is open

---

<div class="post-metadata">

**Author:** ![santi](https://forum.obsidian.md/user_avatar/forum.obsidian.md/santi/32/93240_2.png) [@santi](https://forum.obsidian.md/u/santi)\
**Post date:** [January 1, 2021, 9:27pm UTC](https://forum.obsidian.md/t/un-fold-all-nested-tags/10745/2 "2021-01-01T21:27:35Z")

</div>

This makes sense I second this feature!

---

<div class="post-metadata">

**Author:** ![s-kyy](https://forum.obsidian.md/user_avatar/forum.obsidian.md/s-kyy/32/7747_2.png) [@s-kyy](https://forum.obsidian.md/u/s-kyy)\
**Post date:** [January 10, 2021, 6:43pm UTC](https://forum.obsidian.md/t/un-fold-all-nested-tags/10745/3 "2021-01-10T18:43:09Z")

</div>

Yes I second this!

---

<div class="post-metadata">

**Author:** ![santi](https://forum.obsidian.md/user_avatar/forum.obsidian.md/santi/32/93240_2.png) [@santi](https://forum.obsidian.md/u/santi)\
**Post date:** [January 13, 2021, 11:51pm UTC](https://forum.obsidian.md/t/un-fold-all-nested-tags/10745/4 "2021-01-13T23:51:30Z")

</div>

**Actually, after using nested tags more I think this is really important.**

The more I’ve changed my whole system to do `#many/nested/tags` every time I open (or reload) Obsidian it becomes an uncollapsed mess, and I need to manually fold every tag.

# Example

Just for visual reference, this is how I’d like my tags to remain (all foldeded)

 ![Screenshot_2021-01-13_18-47-13](https://forum.obsidian.md/uploads/default/original/2X/3/3129a17a5656ab9b9ed559bd2cfed5ad0f6ea261.png)

_ **opposed to what happens at start up which makes all toggles unfold by default** _, and each tag needs to be folded manually to return to this organized state.

# Unfolded Mess

This is what I need to manually fold every time I reload Obsidian

 ![image](https://forum.obsidian.md/uploads/default/original/2X/f/f37840dc79b817d8cf13674860a809a65251f471.png)

Thanks!

* * *

> **Edit:** _Added unfolded tag pane to share how the struggle is real_

---

<div class="post-metadata">

**Author:** ![dkowalski](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/d/c89c15/32.png) [@dkowalski](https://forum.obsidian.md/u/dkowalski)\
**Post date:** [January 13, 2021, 11:59pm UTC](https://forum.obsidian.md/t/un-fold-all-nested-tags/10745/5 "2021-01-13T23:59:18Z")

</div>

My list of tags is even bigger 😃

There is a list of all my nested tags:

 ![image](https://forum.obsidian.md/uploads/default/original/2X/c/c7e366d593ebc8c0c9cb2f0a6795d287a96f36f4.png)

on the top level it fold to:

 ![image](https://forum.obsidian.md/uploads/default/original/2X/8/8867f1efc65a4f51122695f03e8f0f8c380259f5.png)

This feature is a must for me:D

---

<div class="post-metadata">

**Author:** ![santi](https://forum.obsidian.md/user_avatar/forum.obsidian.md/santi/32/93240_2.png) [@santi](https://forum.obsidian.md/u/santi)\
**Post date:** [January 14, 2021, 12:05am UTC](https://forum.obsidian.md/t/un-fold-all-nested-tags/10745/6 "2021-01-14T00:05:24Z")

</div>

Yeah exactly, that’s the problem the screenshot I added above was after collapsing everything.

Same as you this is my default uncollapses tag pane, and it’s a pane to manually fold everything. Specially since I got `sub>sub>nested>tags` as well

 ![image](https://forum.obsidian.md/uploads/default/original/2X/f/f37840dc79b817d8cf13674860a809a65251f471.png)

---

<div class="post-metadata">

**Author:** ![santi](https://forum.obsidian.md/user_avatar/forum.obsidian.md/santi/32/93240_2.png) [@santi](https://forum.obsidian.md/u/santi)\
**Post date:** [January 14, 2021, 12:11am UTC](https://forum.obsidian.md/t/un-fold-all-nested-tags/10745/7 "2021-01-14T00:11:10Z")

</div>

@dkowalski I thought I was in trouble, that new screenshot you just added with all your tags is serious stuff!!

I really hope this feature is added, for every heavy user of nested tags’ sanity.

* * *

I love nested tags, but they kind of lose some of their awesome value if they display uncollapsed every time.

---

<div class="post-metadata">

**Author:** ![dkowalski](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/d/c89c15/32.png) [@dkowalski](https://forum.obsidian.md/u/dkowalski)\
**Post date:** [January 14, 2021, 12:23am UTC](https://forum.obsidian.md/t/un-fold-all-nested-tags/10745/8 "2021-01-14T00:23:16Z")

</div>

> [@santi](#):
>
> but they kind of lose some of their awesome value if they display uncollapsed every time.

This tree grows fast because I create a productivity system.  
For example, one of my main nested tree:

#F2F → a container for notes connected with my coworkers  
#F2F/NAME/ → coworker name

#F2F/NAME/❓ → questions or issues to discuss with someone  
#F2F/NAME/👁-\> obeservation about someone  
#F2F/NAME/⚙-\> task assigned for someone (without a date to be done)  
#F2F/NAME/⚙/Y/21 → task assigned for someone, to be done during a year the 21  
#F2F/NAME/⚙/M/21/01 → task assigned for someone, , to be done during a month 01 in the 21 year  
#F2F/NAME/⚙/W/21/05 → task assigned for someone, to be done during a week 05 in the 21 year  
#F2F/NAME/⚙/D/21/01/13 → task assigned for someone, to be done during in 13 day od 01 month in the 21 year  
#F2F/NAME/👍 → positive feedback  
#F2F/NAME/✅ → summary of a meeting with a coworker  
#F2F/NAME/❗ → corrective feedback

I am working and talking with ~100 people and this structure grow exponentially:D

I am using embedded search queries and it works fine.  
I do not often use this tree but for sanity, it would be better folded.

When I add to a note this:

> ```query  
> /- (.\*)#F2F/NAME/  
> ```

I get a list of all undone thinks connected with someone

A embeded query like this:

> ``` query  
> /- #(F2F/(._))/(._)/((W/21/03))/  
> ```

show me all issues for a Week 03 in 21 year for all my coworkers.

Queries are generated automatically by templete enginge and Calendar plugin.

Nested tags are really powerful 😃

---

<div class="post-metadata">

**Author:** ![santi](https://forum.obsidian.md/user_avatar/forum.obsidian.md/santi/32/93240_2.png) [@santi](https://forum.obsidian.md/u/santi)\
**Post date:** [January 14, 2021, 1:26pm UTC](https://forum.obsidian.md/t/un-fold-all-nested-tags/10745/9 "2021-01-14T13:26:51Z")

</div>

that’s a cool set up! In my case I go straight to the tag pane to select the tags and sub tags I have in there, so having them collpased is something I have to manually do every time.

If you find out a workaround to collapse them let me know, not sure if there’s some way to do it from the console perhaps

Thanks!

---

<div class="post-metadata">

**Author:** ![malecjan](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/m/a6a055/32.png) [@malecjan](https://forum.obsidian.md/u/malecjan)\
**Post date:** [January 19, 2021, 6:10am UTC](https://forum.obsidian.md/t/un-fold-all-nested-tags/10745/10 "2021-01-19T06:10:55Z")

</div>

### Related feature requests:

- [Automatically unfold all search results when they fit in search pane](https://forum.obsidian.md/t/automatically-unfold-all-search-results-when-they-fit-in-search-pane/11562)
  - request for adjusting default folding level based on item counts vs screen-space

- [Display vertical context in long scrollable document (RemNote-like auto-folding mode)](https://forum.obsidian.md/t/display-vertical-context-in-long-scrollable-document-remnote-like-auto-folding-mode/10918)
  - See higher levels when scrolling through long nested portion of tree structure.

---

<div class="post-metadata">

**Author:** ![nickchomey](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/n/3ab097/32.png) [@nickchomey](https://forum.obsidian.md/u/nickchomey)\
**Post date:** [February 21, 2021, 5:23pm UTC](https://forum.obsidian.md/t/un-fold-all-nested-tags/10745/11 "2021-02-21T17:23:13Z")

</div>

FYI, the Tag Wrangler plugin seems to work well for this (though only for 1st level tags at the moment - I’ve submitted an issue to work for other levels as well).

But yes, this seems like something that should be a core functionality

---

<div class="post-metadata">

**Author:** ![mbarritt](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/m/c6cbf5/32.png) [@mbarritt](https://forum.obsidian.md/u/mbarritt)\
**Post date:** [October 6, 2021, 9:58pm UTC](https://forum.obsidian.md/t/un-fold-all-nested-tags/10745/12 "2021-10-06T21:58:18Z")

</div>

Reviving an old feature request: Any word on whether a core tag list folding/unfolding feature might be in the works?
