开发者

Visual Studio find - filter by file type?

开发者 https://www.devze.com 2023-02-15 16:33 出处:网络
Is there any way to use Visual Studio\'s Find and Replace to search only through files of a specified type or types?

Is there any way to use Visual Studio's Find and Replace to search only through files of a specified type or types?

If I'm searching through my web project for a particular string, it winds up looking through all my javascript, css and html files开发者_高级运维 when I know all that I'm interested in is results that are in .cs files, for example.

I find myself using Notepad++ which does have the ability to limit its "Find In Files" search to only the file types I specify within the directory I specify, but would love an integrated solution.


Visual Studio find - filter by file type?

You can choose file types from default or type your own. Regular expressions available for complex search.


In the Find Options, you can specify the settings under "Look at these file types:"

0

精彩评论

暂无评论...
验证码 换一张
取 消