# Navigation Tools – Expanding and Collapsing Blocks of Code

You can expand or collapse blocks of code with the / button located on their left at the line numbers of the editor. When a block of code is collapsed, move the cursor to the button to show the collapsed block in its entirety, as shown below in the right image.

Expanded block of code. | Collapsed block of code. Moving the cursor on the button shows the whole code block in a tooltip.