Close this search box.

New Visual Studio 2017 Extension – Code Search (VS Text Editor)

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.

t’s been a pretty handy time saver for me and has minimized interruption in my code flow. I passed the Debug version around to a few co-workers and everyone’s been enjoying it so far. If you’re running Code Search + Visual Studio, feel free to check it out if you’d like to link the two platforms together! One thing to note, I only wired up the context menu GUID’s to add the option to the most common text editors. The code base is published on GitHub so if you’d like to make any contributions, let me know! 

Code Search – Install:

Code Search – Visual Studio Text Editor – Install:

GitHub Repo:

Thanks everyone!

Also, if you know me, I like to try out everything from Boosted Boards to Drones to Snapchat Spectacles to basically any new tech I can hook into. I’ve been really into home automation lately, might blog about some of that soon! Check out some of my hand picked recent Amazon goodies just for my engineering friends, enjoy:

(47% off right now) TeckNet Gryphon Pro LED Illuminated Programmable Gaming Keyboard and Mouse set, Water-Resistant Design, US layout

(60% off right now) Anker 60W 10-Port USB Wall Charger, PowerPort 10 for iPhone 7 / 6s / Plus, iPad Pro / Air 2 / mini, Galaxy S7 / S6 / Edge / Plus, Note 5 / 4, LG, Nexus, HTC and More

iRobot Roomba 690 Wi-Fi Connected Robotic Vacuum Cleaner, Works with Amazon Alexa

Philips Hue 464479 60W Equivalent White and Color Ambiance A19 Starter Kit, 3rd Generation, Works with Amazon Alexa

TP-Link Smart Wi-Fi Light Switch, No Hub Required, Single Pole, Control Your Fixtures From Anywhere, Works with Alexa (HS200)

TP-Link Smart Wi-Fi Light Switch, No Hub Required, Single Pole, Control Your Fixtures From Anywhere, Works with Alexa (HS200)

Philips Hue Lightstrip Plus Dimmable LED Smart Light (Compatible with Amazon Alexa, Apple HomeKit, and Google Assistant)

TP-Link 8-Port Gigabit Ethernet Plastic Desktop Switch (TL-SG1008D)

Cell Phone Stand, Lamicall S1 Dock : Cradle, Holder, Stand For Switch, all Android Smartphone, iPhone 6 6s 7 Plus 5 5s 5c charging, Accessories Desk – Black

Amazon Echo – Black

Echo Dot (2nd Generation) – Black

Posted on Thursday, August 3, 2017 7:55 PM code search , visual studio , team services , tfs , source control , architecture , refactoring | Back to top

This article is part of the GWB Archives. Original Author: Mike Parks

Related Posts