For some types of files, you can use the code folding feature to collapse blocks of code so that only the first line of the block appears in the Source Editor.
A block of code that can be folded is indicated by a collapse icon
to the left of the first line of the block. A vertical line extends from the
collapse icon to the bottom of the foldable code. A block of code that is
already folded is indicated by an expand icon
to left of the
code block. You can expand and collapse folds by clicking expand and collapse
icons or by right-clicking in the code itself and choosing from the Code Folds
pop-up menu.
You can mouse over the folded block to quickly display the code in the block.
For C and C++ files, you can fold: