Find in Files: Search all code in Team Foundation Server

后端 未结 12 2216
情深已故
情深已故 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 23:03

    We have set up a solution for Team Foundation Server Source Control (not SourceSafe as you mention) similar to what Grant suggests; scheduled TF Get, Search Server Express. However the IFilter used for C# files (text) was not giving the results we wanted, so we convert source files to .htm files. We can now add additional meta-data to the files such as:

    • Author (we define it as the person that last checked in the file)
    • Color coding (on our todo-list)
    • Number of changes indicating potential design problems (on our todo-list)
    • Integrate with the VSTS IDE like Koders SmartSearch feature
    • etc.

    We would however prefer a protocolhandler for TFS Source Control, and a dedicated source code IFilter for a much more targeted solution.

提交回复
热议问题