vscode-powershell: PowerShell code folding is not working for here strings
still no code folding if using here strings 😦 or #region for that matter.
function New-VSCodeCannotFold {
$I = @'
cannot fold
'@
#region Can't fold a region
$b = 'foobar'
$c = 'foobar'
$d = 'foobar'
#endregion
}
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Reactions: 6
- Comments: 24 (8 by maintainers)
I’m going to re-open this issue as a way to track the common request that code folding be improved. This is an issue that still needs to be fixed by the VS Code team.
I would love to be able to fold at #region as well.
Looks like it’s official! https://code.visualstudio.com/updates/v1_23#_folding-provider-api
Good point - I missed that part of the issue. I’ll reopen this and rename it to specify here strings
@tylerl0706 I completely understand! I really wish I was to the point where I could legitimately contribute, because this is such a cool project. I’ll working on getting there, but I’m still very fresh. I appreciate all that you guys are doing!
@mpearson It can be pursued with enough 👍’s!
Don’t expect it right away because everyone has been tied down with other things:
I’m fighting performance issues with intellisense, Rob’s but dealing with some PowerShell/PowerShell tasks.
Keith may be able to pick this up. He’ll have to chime in on that.
This is an open source project so feel free to take a crack at it, otherwise, we’ll get to it as soon as we can. 😀 There’s lots to do!
howdy rkeithhill,
thank you! [grin] my search talent was not up to snuff …
take care, lee