Closed
Description
Summary of the new feature
As a user I want an option for brace-delimited code folding regions to leave the closing brace visible when the region is folded.
The current folding behaviour of VSCode with the PowerShell folding provider disabled leaves the opening and closing lines visible and folds the code in the contained lines.
With the PowerShell syntax-aware folding enabled the last line is also collapsed into the fold.
This means that any subsequent code blocks in the same construct are hidden and this obscures the code structure too much.
Would it be possible to either change the folding to match the default behaviour of VSCode indent-based folding or, preferably, add an option to allow a choice of behaviour?