Jeff Key

It works on my machine

Sponsors

My Job

My stuff

Old stuff

Useful Stuff

Favorite VS.NET feature of the day: CTRL+} on #endregion and #endif

(The behavior is the same as it is on braces.)

I don't know how I'd missed it all this time...

Comments

Johnny Hall said:

Shouldn't it "select" the whole of the #endregion text, rather than just the # ?

Or am I missing something?

(BTW You're comment form doesn't show up in Firefox 0.8 - if you care about such things :)
# April 3, 2004 6:50 AM

Darrell said:

Johnny - the comment form does show up, you just have to scroll down past the menu items on the left to find it.

# April 3, 2004 2:47 PM

Jeff Key said:

Johnny: You can select the entire block by holding down SHIFT while pressing CTRL+}.
# April 3, 2004 2:59 PM

Johnny Hall said:

Thanks.

And thanks. I realise now what it does. I was thinking Ctrl+} means that you should be pressing shift. Ctrl+] would be without it.

I still find that pressing Ctrl+} (+shift) selects the whole block, but not the word "endregion", just the #. Which is odd.
# April 4, 2004 11:54 AM

Andrew Connell said:

Is there a place other than digging through all the VS.NET shortcuts that lists all the VS.NET shortcuts?
# April 6, 2004 1:18 PM