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 have fun with the Visual Studio Find Combo Box

Today’s tip of the day comes from Shawn’s post on the Find Combo Box.  These tips will work on both Visual Studio .NET 2003 and Visual Studio 2005.

 

  • Goto a line – type the line number and press Ctrl-G
  • Goto a file – type the name of the file and press Ctrl+Shift+G
  • Set a breakpoint on a function – type the name of the function and press F9
  • Get help – type the keyword and press F1

And using command aliases…

 

See http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vsintro7/html/vxgrfpredefinedcommandlinealiases.asp for the complete list.

 

What other command aliases should go in this list that people like to use?  

 

Happy Editing!

 

Posted: Friday, March 25, 2005 4:34 PM by saraford

Comments

Srikanth Bhakthan said:

Thanks Sara. I learn new shortcuts everytime when i read your blogs!
# March 25, 2005 8:25 PM

Uwe Keim said:

"What other command aliases should go in this list that people like to use?"

The MSN Desktop search allows for defining own commands (I forgot the shortcut though...). Maybe this would be useful for the combobox in VS.NET, too?!?
# March 25, 2005 10:33 PM

D. Philippe said:

I'm not a fan about overloading the "find" dialog to the "find/command" dialog. I think that command mode is a great idea. (vi anyone? It's a pity UIs have taken a decade to get back to the power of the command line.) But I don't think that it should be lumped together with the find feature, something that was never intended to support it.

BTW, one of my greatest gripes about Find in all MS IDE's is the way that it unhelpfully sets the word at the current cursor position to the default find text. 99% of the time the word I'm looking for is not where my cursor is.* (That's why I'm trying to find it!) If anything, I'm usually trying to find the last thing that I searched for, so it would be helpful for Find _not_ to change the default text from the last instance.

* There is a case where this is useful, and that's Find in Files, but not just plain Find.
# March 26, 2005 7:22 PM

DTF said:

I agree with D. Philippe, initialing the find dialog with the current text is useless, but I'd add that you can change this behavior in Tools-Options-Environment-Documents.

Also, for quick searches I find that Ctrl-I, which is interactive search, can be a bit more useful.
# March 26, 2005 8:22 PM

Mike Goatly said:

Sara,

I'd really like some way of jumping to a region defined in the current file. (Ideally this would be another "explorer" like dockable window where all the defined regions would be! ;-)

Like a lot of developers, I break my code up into logical areas using regions, and sometimes need to be able to quickly jump to another region. (E.g. to add a new method to the Private Methods region)

Just a thought - maybe there's a power toy out there or something similar I've missed!
# March 29, 2005 4:43 AM

Faisal said:

Thanks Sara. I learn new shortcuts everytime when i read your blogs!
Would u like to mail a list of shortcuts?
My Email is
faisal_i_a@yahoo.com
# April 14, 2005 7:47 AM

Faisal said:

Thanks Sara. I learn new shortcuts everytime when i read your blogs!
Would u like to mail me a list of shortcuts?
My Email is
faisal_i_a@yahoo.com
# April 14, 2005 7:49 AM
New Comments to this post are disabled
Page view tracker