VS Code: How to Collapse/Expand Blocks of Code - KindaCode
https://www.kindacode.com/article/vs-code-how-to-collapse-expand-blocks-of-code/
If there is a reason that makes you don’t like hitting chevron icons, then you can use shortcuts to get things done. Use your mouse or trackpad to select a block of code you want to collapse/expand then: 1. If you’re using a Mac: 1.1. Fold: Command + Option + [ 1.2. Unfold: Command + Option + ] 2. If you’re on a Windows computer: 2.1. Fold: Ctrl + ...
If there is a reason that makes you don’t like hitting chevron icons, then you can use shortcuts to get things done. Use your mouse or trackpad to select a block of code you want to collapse/expand then: 1. If you’re using a Mac: 1.1. Fold: Command + Option + [ 1.2. Unfold: Command + Option + ] 2. If you’re on a Windows computer: 2.1. Fold: Ctrl + ...
DA: 47 PA: 69 MOZ Rank: 25