Collapsing all code blocks

This forum can be browsed by the general public. Posting is limited to current SAPIEN license holders with active maintenance and does not offer a response time guarantee.
Forum rules
DO NOT POST LICENSE NUMBERS, ACTIVATION KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
This topic is 6 years and 6 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
User avatar
CoryEtmund51
Posts: 8
Last visit: Tue Aug 11, 2020 7:54 am

Collapsing all code blocks

Post by CoryEtmund51 »

Product, version and build: Sapien PowerShell Studio, version 5.4.143.0
32 or 64 bit version of product: 64
Operating system: Windows 10 Enterprise
32 or 64 bit OS: 64


Upon searching for some time, the only way I've seen posted online in order to collapse all of the code blocks in your script is to press 'ctrl -' to collapse all blocks or 'ctrl +' to expand all blocks. I'm running what I believe is the most recent release of Sapien PowerShell Studio 2017, just installed it a couple weeks ago. Those hotkeys I mentioned are not doing anything and I've been unable to find any other answers.

Thanks!
User avatar
davidc
Posts: 5913
Last visit: Mon Jul 08, 2019 8:55 am
Been upvoted: 2 times

Re: Collapsing all code blocks

Post by davidc »

Please make sure you have the script block option checked in Ribbon->Home->Edit->Regions->Include:
Collapse Script Blocks.png
Collapse Script Blocks.png (24.7 KiB) Viewed 2058 times
By default, this option is not checked.
David
SAPIEN Technologies, Inc.
User avatar
CoryEtmund51
Posts: 8
Last visit: Tue Aug 11, 2020 7:54 am

Re: Collapsing all code blocks

Post by CoryEtmund51 »

Thank you David, that fixed it.
This topic is 6 years and 6 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.