The question is simple. I minimize a block of code, and instead of the text inside the rectangle being "..." I need to write smth of my own. I knew how to do it some long time ago, but I've forgotten it now.
http://i2.lulzimg.com/283bfccf3c.png
Printable View
The question is simple. I minimize a block of code, and instead of the text inside the rectangle being "..." I need to write smth of my own. I knew how to do it some long time ago, but I've forgotten it now.
http://i2.lulzimg.com/283bfccf3c.png
What?
Instead of the three dots over there, I need to write something of my own, so I know what the code within it does.
I think what you're wanting to do is create a region.
Then when you collapse the region, you'll see "YOUR TEXT HERE" inside the rectangle.Code:#Region "Your Text Here"
Code
#End Region
I have been beaten by the swiftness.Code:#Region "Name Me"
subs n stuffs goes here
#Region
You can also make an XML comment that will show up when minimized.
Code:'''<summary>
''' This is a multiline comment
''' I want to show when minimized
'''</summary>
'''<summary>Here's some more minimized text</summary>