VSCodeTips is a community of amazing vscoders

We're a community that shares tips & tricks on how to best leverage VS Code

Create account Log in
Cover image for March 28th, 2022: VS Code Tip of the Week
Nick Taylor
Nick Taylor

Posted on • Updated on

March 28th, 2022: VS Code Tip of the Week

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?

Thanks to Steve Ruiz from the Twitters for the tip!

Discussion (2)

renanfranca profile image
Renan Franca

I didn't know that! Thanks!❤

nickytonline profile image
Nick Taylor Author

Geordi Laforge in a sweater saying “No problem”