|
-
Apr 15th, 2002, 01:56 PM
#1
Regions - Very cool feature
How many of you know about defining Regions in your code?
It is a really cool way to be able to hide parts of your code.
First enter the following above the code you want to be able to hide/Display
PHP Code:
#Region "Enter descriptive text here"
then at the bottom of the code section add the following
You will now notice a - icon that when clicked will close up the area in between and the text you entered in the definnition of the region will be there describing what is being hidden,
While at first this seems trivial, it really helps to be able to hide sections of code in very large modules.
I use them for hiding the variable definitions section, and then for sections of code that I know are working properly, it eliminates the scrolling past functions that are good to go.
Try it out, I am sure you will like it.
-
Apr 18th, 2002, 06:25 AM
#2
Junior Member
Yep very good point Brian ... I, like you use it to wrap code which works.
Cheers
Simon
-
Apr 18th, 2002, 10:57 AM
#3
Addicted Member
I like the opacity and anchoring settings, simple things as they say.
G
-
Apr 18th, 2002, 11:25 AM
#4
Anchoring..oh man...what a god sent!!!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|