Quantcast
Channel: Hey, Scripting Guy! Blog
Viewing all articles
Browse latest Browse all 3333

PowerTip: Toggle Outlining View in PowerShell ISE

$
0
0

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()


Viewing all articles
Browse latest Browse all 3333

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>