nathonius / obsidian-collapse-all

MIT License
92 stars 2 forks source link

Collapse + Expand to certain level (1-4) #27

Closed mochsner closed 1 year ago

mochsner commented 2 years ago

In JetBrains' IDE there's a nifty feature where you can collapse to a certain level (high level class is ctrl+shift+1, functions is ctrl+shift+2 for typical code) -- would that be possible to add features in for here to a certain level

So, instead of having ctrl + shift + 2 to expand all, it'd expand the folders in root, then ctrl+shift+3 expands the ones in those folders, etc.

image

nathonius commented 2 years ago

@mochsner is this what you mean?

I have the following structure:

Folder 1
Folder 1/Folder 2
Folder 1/Folder 2/Folder 3
Folder 1/Folder 2/Folder 3/Folder 4

I did recently add the ability to expand or collapse a single folder, not sure if that helps.

nathonius commented 1 year ago

Closing this as the collapse / expand functionality is all within obsidian now, and it does not support this.