Find in Files: Search all code in Team Foundation Server

后端 未结 12 2215
情深已故
情深已故 2020-11-28 22:37

Is there a way to search the latest version of every file in TFS for a specific string or regex? This is probably the only thing I miss from Visual Source Safe...

12条回答
  •  迷失自我
    2020-11-28 22:42

    Team Foundation Server 2015 (on-premises) and Visual Studio Team Services (cloud version) include built-in support for searching across all your code and work items.

    You can do simple string searches like foo, boolean operations like foo OR bar or more complex language-specific things like class:WebRequest

    You can read more about it here: https://www.visualstudio.com/en-us/docs/search/overview

提交回复
热议问题