microsoft / microsoft/vscode-cpptools
Automatically fold inactive regions
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 6.2k
- Forks
- 1.7k
- Avg merge
- 14h 46m
- Merged PRs (30d)
- 61
Description
Type: Feature Request
The extension currently supports dimming inactive regions (#if, #ifdef, ...). Folding these regions is also already supported correctly.
I would like to suggest a feature that combines both of these to automatically fold inactive regions, as a command and on opening a file.
This is a duplicate of #5020, which was (perhaps incorrectly) marked as a duplicate of #407, which is now closed.
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
Review the existing inactive-region dimming and folding behavior in the extension, then compare issue #5020 and closed issue #407 for prior implementation context. Define the command and on-file-open behavior as acceptance criteria, and verify both paths in VS Code.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, typescript, vscode
- Domain
- developer-experience, tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100