Recursively expand a single directory node #2112
Replies: 3 comments 6 replies
-
|
That is a good use case. I'm not quite understanding the nuance: Are you after something different? |
Beta Was this translation helpful? Give feedback.
-
|
Oh, you're right. I think it was actually a recursive close for a single node that I was missing as In the end I somehow got confused and thought it was expand, so I avoided using Sorry for the noise. And not sure if the recursive close is something worth adding - or if I'm missing yet another existing feature. |
Beta Was this translation helpful? Give feedback.
-
No need to apologise at all.
Take a look at |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm missing an API method to expand a single directory node recursively. This would often be helpful when I only want to view a certain subtree of my project but don't want to expand everything.
I've seen
api.tree.expand_all(expands all nodes) andapi.node.open.edit(expands only first level). Maybe the latter could be improved with an options arg likeapi.node.open.edit({recursive = true}).Beta Was this translation helpful? Give feedback.
All reactions