Include only certain file types when searching in Visual Studio

后端 未结 6 844
情书的邮戳
情书的邮戳 2020-12-13 11:44

Often when I want to search through my code in Visual Studio, I know the thing I\'m looking for is in some C# code. However, as I\'ve used the same variable name in a JavaSc

6条回答
  •  萌比男神i
    2020-12-13 12:35

    I like to exclude js files by using the following search: *.a*;*.cs*;

    Most of the times, I end up searching for stuff in aspx, cs, cshtml files so this is quite helpful. Notice how I use *.cs* instead of *.c* since the latter would select jquery custom files such as jquery.custom1234.js (which I usually use in most of my projects), of course if you don't you could just use *.c*.

提交回复
热议问题