问题
Delphi 2007:
Whenever I switch to a new pas file the structure viewer displays its class entries in an expanded form. This is very annoying!
Is there a way that the classes items are always displayed in a compressed tree view.
Chris
回答1:
Right click on the "Structure" pane and select "Properties" from the context menu. In the "Explorer Options" dialog, you'll see a "Explorer categories" check list box. For each item in this box, there's a tiny figure (a tree) between the check box and the item name. For items you want to see contracted, click on this tiny figure. It will switch from an expanded tree to a contracted tree. Then select 'OK'.
来源:https://stackoverflow.com/questions/5164425/ide-structure-viewer-displays-all-items-expanded