Folding Code with the Keyboard
Complete the following steps to fold and unfold code blocks using the keyboard:
- Position the cursor anywhere within a code block that you want to fold.
- Press F2
- To unfold a code block, position the cursor anywhere on a folded line, and press F2 again.