Use the Expand All button or the Collapse All button from the toolbar or from right click menu Source > Folding to unfold/fold the current file.