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 SUBSCRIPTION NUMBERS, LICENSE 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.
User avatar
derhoeppi
Posts: 34
Joined: Sun Apr 06, 2014 11:10 pm

View functions and events collapsed at project startup

Post by derhoeppi » Mon Dec 10, 2018 2:01 am

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
Joined: Thu Aug 18, 2011 4:56 am

Re: View functions and events collapsed at project startup

Post by davidc » Mon Dec 10, 2018 8:38 am

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 1007 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 1007 times
David
SAPIEN Technologies, Inc.

User avatar
derhoeppi
Posts: 34
Joined: Sun Apr 06, 2014 11:10 pm

Re: View functions and events collapsed at project startup

Post by derhoeppi » Mon Dec 10, 2018 11:24 pm

Hi,

thanks for your response. It's very useful for a lot of events and functions.