how to collapse all code block in vs code code example Example: collapse all code vscode Use : Ctrl + K + 0 to fold all Ctrl + K + J to unfold all