Answer the question
In order to leave comments, you need to log in
Folding blocks of code like in Notepad++?
In Notepad++, holding down Ctrl and collapsing a block of text within curly braces will collapse all child elements as well.
In Sublime, I've tried using the "Fold All" feature, or just manually collapsing the child elements before collapsing the parent element, but in the end, when I expand the parent element, all the children expand as well.
This is extremely inconvenient. Is there any way to make sublime folding work like it does in Notepad++?
An example of my layered block of code:
obj={
fold:'/',
data:{
id:123
text:'avc'
}
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question