VS08: go to the beginning of a "block"
When working with code in VisualStudio 08 Pro, I often find myself before the closing parenthesis (}) wondering where exactly this thing opened. If it's just one screen, I can immediately notice the shadowed character, but usually I have to scroll and look closely.
Is there a keyboard shortcut that jumps to the beginning of the matching curly brace?
THH
Ok ... cntl +] works in pure C # code ... how about in an aspx MVC page?
And again with editing to show better context:
...<%
else if (row.RegistrationType == RegistrationType.Live)
{
%>
<a id="Add" onclick="AddStuff();" >Imagine lots and lots of text here that obscures the above brace from it match below.</a>
<%
}//cursor here hightlights the brace following the else
//but cntl+] only jumps up one line.
%>
+2
source to share
3 answers