microsoft / microsoft/TypeScript
Folding ranges not returned for highly nested functions
Open
Nobody has claimed this yet.
Domain: LS: Outlining
Needs Proposal
Suggestion
VS Code Tracked
- Dominant language
- Go
- Stars
- 111k
- Forks
- 14.3k
- Avg merge
- 2d 4h
- Merged PRs (30d)
- 132
Description
From @ryaa on July 9, 2018 5:38
- VSCode Version: Version 1.25.0 (1.25.0)
- OS Version: MacOS High Sierra 10.13.5
Steps to Reproduce:
- Create .ts file and add multiple enclosed blocks of code
- Note that starting some level (> 7?) the folding icon is not displayed and folding/unfolding does not work - see attached (note that + icon is not displayed)
Please note that //#region seems to be working
Does this issue occur when all extensions are disabled?: Yes
Copied from original issue: Microsoft/vscode#53842
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
Reproduce the issue in a .ts file in VS Code by adding more than seven nested code blocks and checking whether folding icons appear. Compare ordinary nested blocks with //#region folding; done means folding and unfolding work at the reported nesting depth while regions continue to work.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- compilers
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100