I'm aware of the Ctrl + [] and the Ctrl + {} (Ctrl-Shift-[]) to go to/select block start/end.
What I'm after is an extension of this mechanism so that the current 'scope' (as defined by the surrounding
brace/bracket/parenthesis) can be navigated to and selected. So:
...
if (|3 someMethod (|2 callSomeOtherMethod (|1 params ... )|1 )|2 )|3
or
someArrayVar[|1 someExpression ]|1
or
try
{|1
...
{ |2
} |2
}|1
catch() {}
in the snippets above, if the cursor is on any of points marked |1/|2/|3, hitting whatever keystroke (ctrl + would navigate to the
matching construct opposite and if ctrl + shift + <key> would cause the region to be selected.
Description
I'm aware of the Ctrl + [] and the Ctrl + {} (Ctrl-Shift-[]) to go to/select block start/end.
What I'm after is an extension of this mechanism so that the current 'scope' (as defined by the surrounding
brace/bracket/parenthesis) can be navigated to and selected. So:
...
if (|3 someMethod (|2 callSomeOtherMethod (|1 params ... )|1 )|2 )|3
or
someArrayVar[|1 someExpression ]|1
or
try
{|1
...
{ |2
} |2
}|1
catch() {}
in the snippets above, if the cursor is on any of points marked |1/|2/|3, hitting whatever keystroke (ctrl + would navigate to the
matching construct opposite and if ctrl + shift + <key> would cause the region to be selected.