Is there a way to fold/expand a large selection of functions(javascript code) in Visual Studio Code?
ctrlkctrl0 will fold all:
and
ctrlkctrlj will unfold all
But it works on the whole file, not on a selection. You can also fold only a certailn level with the commands
ctrlkctrl1 ... ctrlkctrl9 for level 1 ... 9
You find these shortcuts in the keyboard shortcuts: ctrlkctrls