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... How to do a Ctrl+G without the Go to line dialog box popping up - #040

Pretty straight-forward, pressing Ctrl+G will pop up the Go to line dialog.

Go To Line Dialog

But, did you know there's a way to do a "Ctrl+G" without bringing up this dialog box?

  1. Press Ctrl+D to go to the Ctrl+D window
  2. Type in the line number
  3. Press Ctrl+G (not enter; otherwise, you'll search for the number!)

And now you've just navigated to the line without the dialog box coming up.

And just one more "did you know" about the Go to Line dialog...  you can double-click on the line, column, and character section of the status bar to pop up the dialog

Status bar Line, Column, Character

Argh, i can't resist... final thing about the Go To Line dialog.  You can attempt to go to line 0, but we'll take you to line 1.  =)

Technorati tags: ,
Posted: Tuesday, September 18, 2007 3:00 AM by saraford

Comments

Tuncay Baskan said:

Ctrl+G is better I think. Because Ctrl+D does not work with "Visual C# Developer" keyboard schema.

Btw, Visual C# developer keyboard schema is much better, it is consistent.

# September 18, 2007 9:11 AM

Jason Haley said:

# September 18, 2007 9:58 AM

Erling Paulsen said:

Another find window tip...

Type in Classname.Methodname and hit F9

Instant breakpoints!

You can even do this on CLR methods...

# September 18, 2007 8:02 PM

Thomas G. Mayfield said:

With the Visual C# Developer keyboard, press Ctrl+/, then type your number, then Ctrl+G. Or, press Ctrl+/, type ">GotoLn 50", then enter, but the Ctrl+G is simpler.

# October 30, 2007 9:34 AM

Visual Studio 2008 ワンポイント said:

Ctrl + G キーを押すと、[指定行へのジャンプ] ダイアログ ボックスが表示されます。 このダイアログ ボックスを表示せずに Ctrl + G キーで移動する方法はご存知ですか。 Ctrl + D

# July 7, 2008 3:51 AM

Секреты Visual Studio said:

Простое нажатие Ctrl+G вызовет диалог "Go to line". Но знаете ли вы, что существует метод,

# September 25, 2008 2:17 AM
New Comments to this post are disabled
Page view tracker