Skip to content

Tip 2.3: You can use Ctrl+= to select code from the current cursor location to the last go-back marker

September 11, 2014

“Visual Studio Tips, 251 ways to improve your Productivity in Visual Studio“, courtesy of ‘Sara Ford’

Sara Ford’s Blog

See Tip 1.16 for more information about go-back markers.
The keyboard shortcut used to select code from the current cursor location to the last go-back marker is Ctrl+=, and the command is Edit.SelectToLastGoBack.

Ctrl+= to select all text from current cursor location to last go-back marker

In the previous graphic, Sara started the cursor after the first opening curly brace and the clicked the mouse about 15 lines down to drop a go-back marker. Then she pressed Ctrl+= to select all the text back to the last go-back marker.

Happy Programming! =)

Advertisements
Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: