PowerTip: Toggle Outlining View in PowerShell ISE

Doctor Scripto

Dr Scripto

Summary: Toggle between outlining view in the Windows PowerShell ISE.

Hey, Scripting Guy! Question How can I switch to the outlining view in the Windows PowerShell ISE to collapse
           the functions so it is easier to read the code?  

Hey, Scripting Guy! Answer Use the ToggleOutliningExpansion function from the Editor object, for example:

$psise.CurrentFile.Editor.ToggleOutliningExpansion()

0 comments

Comments are closed. Login to edit/delete your existing comments