When i have code like:
my_class1:=class:
TestVal1: any
my_class2:=class:
Folding my_class1:=class:
leads to this because it swallows all newlines after the class body:
my_class1:=class: <...>
my_class2:=class:
I would prefer if it wouldn’t swallow all newlines inbetween:
my_class1:=class:<...>
my_class2:=class:
Folding should also ignore comments.
test_class:=class:
Value1: any
Value2: any
Value3: any
Value4: any
Value5: any
# Value6: any
Value7: any
Value8: any
becomes this when folding the class:
test_class:=class:<...>
# Value6: any
Value7: any
Value8: any