No shortcut for collapsing all code blocks i.e. code folding?

Ctrl + E or Cmd + E on mac opens up all code blocks in a script, but is there one that does the opposite, closing all code blocks in a script?

Thanks!

Try CTRL+SHIFT+E to collapse folds, and CTRL+E to expand folds like you said. Or open the context action menu in your script and use these buttons at the bottom, since I use Windows keybinds are probably different so I recommend seeing what keybinds the context menu says.

5 Likes