You can use code outlining to:
View code in hierarchy
Collapse or expand blocks
Collapse to definition
Collapse or expand multi line comments.
Code outlining gives you a better overview of the document and allows you to find errors such as unclosed structures without checking or compiling. This feature is similar to the compression view of code in the old ABAP Back-End Editor, where you could see collapsed if-endif blocks of code to quickly determine if nested constructions are properly defined.
Code Outlining