Sometimes, when you have a long file, it’s convenient to fold/collapse all the code regions so you can get a big picture of your file. In Visual Studio (the full blown IDE from Microsoft), it’s a simple keyboard shortcut combination
Thankfully, Visual Studio Code has something similar. To fold ALL regions use
Then just use the following to unfold the code file
The nice thing about this is that all the sub regions are folded as well. So you can simply open one region and all the items inside are still folded.