Closed
Description
System Details
- Operating system name and version: Windows 10 v1607 Build 14939.1066
- VS Code version: 1.11.2
- PowerShell extension version: 0.12.2
- Output from
$PSVersionTable
:
PSVersion 5.1.14393.1066
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.14393.1066
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
Issue Description
I'm sure this has been mentioned before, but I can't seem to find any open tickets.
Any time HereStrings are used throughout my scripts, 1) they do not fold and 2) they break folding for parent elements (Functions or Regions in my case).
Here is a gif of the behavior, and I've included the exact code for you to play with below.
Function foldingDemo{
#Region > Proper Fold >
$testString = 'This region folds'
#Region < Proper Fold <
#Region > Broken Fold >
$testHereString = @'
- The HereString does not offer folding
- This region does not fold properly
- The folding for the function breaks at this point
'@
#Region < Broken Fold <
}
Metadata
Metadata
Assignees
Labels
No labels