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
Ctrl+m Ctrl+o
Thankfully, Visual Studio Code has something similar. To fold ALL regions use
Ctrl+k Ctrl+0
Then just use the following to unfold the code file
Ctrl+k Ctrl+j
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.
Reference: https://code.visualstudio.com/docs/getstarted/tips-and-tricks#_keyboard-reference-sheets