Navigate to containing declaration
tip
ReSharper provides a related feature — Select Containing Declaration (CtrlShift0[) .
note
Visual Studio has a similar shortcut Shift+Alt+[ that lets you jump to the beginning of the containing statement.
You can adjust this shortcut so that the caret jumps to the opening brace of each containing block. To do so, select Use Go to Containing Block (Shift+Alt+[) to jump to the opening brace on the page of ReSharper options Alt+R, O.