I’m having a small problem with folding and unfolding things in VSCode shellscript code. When I write a function and add a help section to it, with a heredoc that ends in EOF, naturally – After this, when I fold the function from next to the function name, it folds down until the EOF text, nothing else. The EOF can be further folded to hide most of the function, but this is really getting on my nerves.
I use regions a lot aswell, since I’m used to those, but they also break from EOF.
Is the only way to stop using heredocs/nowdocs, or is there a way to fix this?
Thanks in advance
I tried to fold a function in Shellscript language file, but if there is “EOF”, “EOL” or similar (end to a here/nowdoc), the folding folds only up to that point and no further.