Open sapphyrus opened 2 years ago
I don't believe there are VS Code APIs to implement this yet, see https://github.com/microsoft/vscode/issues/40338 . @Colengms might know more.
This feature request is being closed due to insufficient upvotes. Please leave a 👍-upvote or 👎-downvote reaction on the issue to help us prioritize it. When enough upvotes are received, this issue will be eligible for our backlog.
This feature request has received enough votes to be added to our backlog.
This would be so useful! Eclipse does it too. The hard part is already done, inactive branches are marked:
when opening a file we just need to go through branches and see which one is marked as inactive.
The logic how to do the folding (on multiline comments) is done in this repo: https://github.com/ietxaniz/vscode-fold-ninja
vote for this Feature Request
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.