

Agent Ransack also creates an explorer context menu entry, so it's easy to launch from a folder. It's actually pretty nice if you want to keep several searches in tabs and you don't want to pollute the VS recently searched folders list, and you want to keep the ability to search binaries, which VS doesn't seem to wanna do. Faster than grepWin and as fast as VS overall. UPDATE: Agent Ransack can be set to search files of certain sizes, and using the <200KB cutoff it's 1:15min for a fresh search and 5s for subsequent searches. They search at about 10-20MB per second according to Resource Monitor. If I restrict to files smaller than 200k, the initial search is 2.5min and subsequent searches are on the order of seconds, about as fast as VS - in the cache.Īgent Ransack and FileSeek are both very slow on that folder, around 20min, due to searching through everything, including giant multi-gigabyte binary files. Subsequent searches all take the same 3 minutes - can't take advantage of hard drive cache. The "Include binary files" setting seems to do nothing in terms of speeding up the search, it looks like binary files are still touched (bug?), but they don't show up in the search results. I excluded files larger than 2000KB (default). The next closest I've found for the same folder was grepWin. Subsequent searches in the same folder are on the order of seconds (until stuff gets evicted form the cache).
How to search for text in files windows windows#
15k files are searched - the rest are likely skipped due to being binary files. This is much faster than Windows Explorer and actually found the text I was searching for, whereas using Windows Explorer didnt yield search results for me.
How to search for text in files windows code#
VS2010 on a regular hard drive, no SSD, takes 1 minute to search a 20GB folder with 26k files, source code and binaries mixed up. I believe it intelligently searches only text (non-binary) files, and subsequent searches in the same folder are extremely fast, unlike with the other tools (likely the text files fit in the windows disk cache). After the index rebuilds, searches in that folder will automatically include file contents. On the Search tab, select the Always search file names and contents option.

Visual Studio's search in folders is by far the fastest I've found. If you’d like to always search within file contents for a specific folder, navigate to that folder in File Explorer and open the Folder and Search Options.
