Searching in Visual Studio, Powered by Code Search
If you've ever used VSTS/TFS Code Search, you'll probably loved it, it felt like this was the way code searching should be. Then you did a code search in Visual Studio, and were reminded of the painful past...
Mike Parks has released a cool extension that helps keep that pain away...
It's been quite some time since I've cracked open Visual Studio to create an extension freebie for all my fellow engineers. If you're keeping up with the latest and greatest in the Microsoft Engineering world you've probably already heard about Code Search which delivers a one-stop solution for all your code exploration needs by allowing you to search across multiple projects and repositories at an unmatchable, incredibly fast speed (shoutout to Elasticsearch which supports the back-end, amazing job guys).
I've been using this tool non-stop at work lately to explore the company code base while integrating new features. The value that it provides is extraordinary! The only downside I stumbled upon was the interruption of stopping my coding flow working inside Visual Studio, opening a new Chrome tab, navigating to the Code Search web page, then copying/pasting or typing in the keyword I wanted to search for which usually already existed in the code base I was working on from the Visual Studio Text Editor.
To work around this, I created the Code Search - Visual Studio Text Editor Extension. This extension allows you to use Microsoft's Code Search directly from the Text Editor in Visual Studio by highlighting text and clicking the Code Search context menu option.