To unfold, right-click and select FoldX: Unfold All.
Don't have your cursor on a function? Use FoldX: Fold by Function Name from the right-click menu or Command Palette to pick from a list of all foldable functions in the file.
Commands
Command
Description
FoldX: Fold All Instances
Fold all calls matching the function at cursor
FoldX: Fold by Function Name
Pick a function from a list, fold all its calls
FoldX: Unfold All
Unfold everything in the active editor
All three commands are available in the right-click context menu and the Command Palette.
Supported Languages
TypeScript, JavaScript, TSX, JSX.
Limitations
Current file only
The call must have a callback with a block body (arrow function or function expression)