79671530

Date: 2025-06-19 04:43:32
Score: 0.5
Natty:
Report link

I too would like a better solution as sometimes setting custom folding doesnt work in my workflow.
My work-around is to whack a comment before the whitespace that I don't want folded:

a topic
. a note
 ? a question regarding the note
  - a to do item
 . some more details
. another note
 . more details
#END a topic

another topic
...

->

+a topic
#END a topic

another topic

In Practical use: I add that trailing comment to all my class-def snippets (etc) so they automatically preserve the whitespace after that definition without needing custom folding regions
:-(

If someone knows how to tell VSCode to simply never cull empty lines, my problem would be solved without needing my work-around.

Reasons:
  • Blacklisted phrase (1): doesnt work
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Hicsy