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 search from the command line? - #083

Almost all Visual Studio commands can be run via the command line (scope willing).  Check out running the find command via the command line (or the Ctrl+/ window - edit.gotocommandline).

FindCommandWindow

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 - <block>)

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)

Technorati tags: ,
Posted: Wednesday, November 14, 2007 3:00 AM by saraford

Comments

Секреты Visual Studio said:

Практически все команды Visual Studio могут быть выполнены из командной строки, в том числе и поиск (или

# February 5, 2009 5:15 AM
New Comments to this post are disabled
Page view tracker