When unfolding code sections, previously folded sub-sections should stay folded #10671
tobydjones
started this conversation in
Editor
Replies: 2 comments
-
See also: |
Beta Was this translation helpful? Give feedback.
0 replies
-
See also this: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I expect folded sub-sections of code to stay folded if I fold and unfold a higher level of indent, but they do not.
For example, if I have code with many layers of indentation, like this:
I can fold the lines "GM" and "PL", so I see this:
If I then fold the function and unfold it again, I expect to see "GM" and "PL" folded, as in my second code example above, but it unfolds every level, so I see all the code, as in the top code example. This is frustrating when sub-sections such as "GM" and "PL" are several pages long - I end up having to re-fold each layer in turn to find the section of code I'm looking for.
Suggestions:
Thanks
Toby
Beta Was this translation helpful? Give feedback.
All reactions