View functions and events collapsed at project startup

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 5 years and 3 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
derhoeppi
Posts: 34
Last visit: Mon Nov 28, 2022 8:48 am

View functions and events collapsed at project startup

Post by derhoeppi »

To help you better we need some information from you.

*** Please fill in the fields below. If you leave fields empty or specify 'latest' rather than the actual version your answer will be delayed as we will be forced to ask you for this information. ***

Product, version and build: Powershell Studio 2018 Version 5.5.155
32 or 64 bit version of product: 64bit
Operating system: Windows 7 Enterprise
32 or 64 bit OS: 64bit

*** Please add details and screenshots as needed below. ***

DO NOT POST SUBSCRIPTIONS, KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM

Hi,
is it possible to start a project with collapsed functions and events? The script overview of a psf file is not the best with a lot of functions and events.
User avatar
davidc
Posts: 5913
Last visit: Mon Jul 08, 2019 8:55 am
Been upvoted: 2 times

Re: View functions and events collapsed at project startup

Post by davidc »

Yes, you can accomplish this by enabling the Collapse regions on load option (Options->Editor):
Collapse regions on load.png
Collapse regions on load.png (36.79 KiB) Viewed 1738 times

And check Functions in the Regions->Include menu in the ribbon (Home->Edit->Regions->Include):
Regions Include Functions.png
Regions Include Functions.png (42.26 KiB) Viewed 1738 times
David
SAPIEN Technologies, Inc.
User avatar
derhoeppi
Posts: 34
Last visit: Mon Nov 28, 2022 8:48 am

Re: View functions and events collapsed at project startup

Post by derhoeppi »

Hi,

thanks for your response. It's very useful for a lot of events and functions.
This topic is 5 years and 3 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.