VS Code Tip of the Week: Advanced Collapsing Code Blocks
This week's tip of the week is all about collapsing code blocks. You can click on the fold caret icon beside a code block to expand collapse it, but did you know if you hold the ALT (⌥ on Mac) while clicking the fold caret icon, it will collapse all code blocks except the one you just clicked on?
TIL in @code you can alt+click on a fold caret to fold everything but that block. pic.twitter.com/iJy3Ry93tX
— Steve Ruiz (@steveruizok) March 24, 2022
Thanks to Steve Ruiz from the Twitters for the tip!