Visual Studio Tricks


Visual Studio (2005,2008,2010) Tips and Tricks.


#83 Search from the command line

Did you know Visual Studio has a Command mode? This isn't cmd.exe - but it's virutally the same concept, inside of visual studio. This command window will let you type commands for virtually any command in Visual Studio. This video will show you how to search from the Command Line.

Click Screenshot To Play Video

#83 Search from the command line

Runtime: 3.5Minutes - Resolution: 900 by 506 - File Size: 6.5Meg

Direct Download: If the video does not work for you,
Click Here to download it.

Snippets / Notes:

Additional Command Line options:
Edit.Find /options - Shows which options are currently set
Edit.Find /reset - clears all options

Some examples:
Edit.Find MainForm /case / proc (Quick Find, match case, in current procedure - )
Edit.Find MainForm /o /m /u /h /l (Quick Find, open documents, match whole word, mark matches, search up, search hidden)
Edit.Replace /doc /all (Quick Replace, replace all, current document)
Edit.FindInFiles btnCancel /lookin:"c:\users\saraf\documents\visual studio 2008\projects\vb samples" /ext:*.vb /text2 (Find In Files, look in the VB Samples folder with files of .vb extension, and show results in Find Results 2 Window) 

Kick this Trick on DotNetKicks.com

1 comment(s)

  1.  avatar

    Very useful feature - my favorite command is 'CloseAll' to close all the open tabs.


RSS Feeds

All Technology Posts

Scott Cate Main Blog Feed


Visual Studio Tricks Only Feed

@ScottCate on Twitter

Twitter @ScottCate

  • Today is a good day!
  • @blaken i already like @codesmithtools :)
  • @pacitpros is hosting a 2 day IT Pro Conference in San Francisco March 22-23rd, 2012 Tech Days http://t.co/2igpJikF
  • Can you help me get to a quick 25 likes for #Mykb on Facebook? http://t.co/0WSh2GdZ
  • Meeting Planner Meltdown via/ @EventDay evn.tc/xpXHnP #Engage365 #EventProfs