PowerShell / PowerShell/vscode-powershell
Can we get back folding on help sections?
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 1.9k
- Forks
- 547
- PR merge metrics
- No merged PRs in 30d
Description
Ever since the "syntax based" code folding was introduced

The documentation sections won't fold the way they used to:

Because the whole comment block is one big blob:

Can we add support for the comment-based help documentation keywords to fold the help below them?
P.S. When I turn that setting off, it completely kills folding for PowerShell files until I kill the integrated terminal.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No file or test is named in the issue. Reproduce the regression with syntax-based folding enabled, compare it with the setting disabled, and inspect the extension's folding support for PowerShell comment-based help keywords; done means help sections fold individually without disabling folding for the rest of the file.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- powershell, typescript, vscode
- Domain
- developer-experience, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100