Welcome to MSDN Blogs Sign in | Join | Help

Sara Ford's Weblog

My adventures embracing open source on CodePlex and at Microsoft

News

    • Did you know... All author proceeds go directly to sending Hurricane Katrina survivors to college.

      Microsoft Visual Studio Tips book

      Recent Entries

Did you know... Ctrl+= selects code to the last go-back marker? - #043

After yesterday's tip on how Navigate Forward, Navigate Backward, and go-back markers work, did you know you can select text up to the last go-back marker?  It is bound to Ctrl+= and the command name is Edit.SelectToLastGoBack (say that 5 times fast!)

 Code selected from current cursor location to the last go-back marker

The above photo is taken from one of the VB 2008 samples, where I started the cursor at the beginning of a "with" block, and then clicked the mouse about 17 lines down to drop a go-back marker.  Then I pressed Ctrl+= to select all the text back to the last go-back marker.

Ctrl+= command in tools options keyboard dialog page

Technorati tags: ,
Posted: Thursday, September 20, 2007 3:00 AM by saraford

Comments

Jason Haley said:

# September 21, 2007 10:18 AM

Jason Haley said:

# September 21, 2007 10:18 AM

james said:

is there a way to select the entire procedure like what vb 6 used to be able to do?

# September 24, 2007 9:04 PM

Visual Studio 2008 ワンポイント said:

昨日のワンポイント では [戻る] ボタンと [次に進む] ボタン、および移動マーカーについてご紹介しましたが、テキストを最後の移動マーカーまで選択する方法はご存知でしたか?これは Ctrl + 等号

# July 7, 2008 3:48 AM

Секреты Visual Studio said:

После последнего совета о том, как перемещаться по коду, знаете ли вы, что можете выделять код до последнего

# October 1, 2008 7:54 AM

Секреты Visual Studio said:

После последнего совета о том, как перемещаться по коду, знаете ли вы, что можете выделять код до последнего

# October 1, 2008 7:58 AM
New Comments to this post are disabled
Page view tracker