有没有办法在 VS Code 中格式化区域折叠方式?
目前,PowerShell 5.1
折叠代码如下所示:
#region Options
#endregion Options
期望的行为
#region Options...
最佳答案
PowerShell扩展提供了一个设置来控制它,并且默认情况下启用:
"powershell.codeFolding.showLastLine": true
Shows the last line of a folded section similar to the default VS Code folding style. When disabled, the entire folded region is hidden.
关于powershell - 有没有办法在 VSCode/PowerShell 中格式化区域折叠方式,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/75748970/