Everything in Visual Studio

I would like to share a cool trick I discovered too late in my programming career. I have configured Everything as an external tool in Visual Studio. In that way, I can search solution's related files quickly.

Windows Explorer was my default go-to for searching a folder/file in the current solution folder. But it's not a very convenient way, especially in big folders. Later, FreeCommander replaced Windows Explorer, as FreeCommander has more features and makes it easier to locate a specific file. I still use FreeCommander in Visual Studio, and I still use it when I want to explore the solution's folder. However, it felt like there was a leaner way of locating a file.

Everything is excellent at searching files. I use it extensively. For example, opening a solution is as easy as writing a part of the solution's name along with a sln extension. Everything will list all solutions files that match the name specified.

This easy file search is what I wanted, just in the scope of a solution. Eventually, I have found a way to do that. Everything has a command line argument '-s'. Anything you specify after will be added to the search. The command parameter that I have configured is: -s $(SolutionDir)

Comments

Popular Posts