Geeks With Blogs

News
Mike Parks Code.Where(c => c.IsTechnicalDebt).Refactor();
It's been about a month since I blogged and released the Code Search - Visual Studio Text Editor Extension. The original release of this extension allowed 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. I've received a ton of positive feedback across the board for bridging the gap between the two platforms! I even got a couple blog shoutouts from the chief in editor of Visual Studio Magazine and Channel 9! (Much appreciated guys!)

I made some minor updates to the code base for v1.1 here to refactor the error handling and added a backup call using LibGit2Sharp to grab the source control URL if the Team Explorer Reflection hack fails. While making these minor updates, I remembered reading about how (just like TFS/VSTS) GitHub also powers the back end of their code search engine with ElasticSearch. So, just for fun, I went ahead and added a little extra code to support GitHub's Repository Code Search as well.

Now, if the repository you're working from in Visual Studio is hosted and connected to GitHub.com, you should be able to use GitHub's Code Search directly from the Text Editor in Visual Studio now by highlighting text and clicking on the same Code Search menu option. Looks like this:


Side note: With the original release there was a little confusion from the description of the extension as to what it actually does. I originally made this to work specifically for Microsoft's Code Search, which runs as an extension either in Team Foundation Server or Visual Studio Team Services. A couple engineers stated they were trying to connect using BitBucket and other Git providers but Microsoft's Code Search is an extension that is only built to run in TFS or VSTS. The search technology varies across different source control platforms as well as the way the search URL's are constructed so the exceptions are expected. You can read more about Microsoft's Code Search (powered by ElasicSearchhere. I updated the description of the extension to hopefully eliminate some of the confusion. The extension is still all open source here on GitHub if you'd like to contribute or if you need to step through any errors, feel free to check it out.


Thanks again for all the positive feedback from all my friends out there! Also, never stop upgrading! Check these out:
Microsoft Surface Pro 4 (128 GB, 4 GB RAM, Intel Core i5)
Logitech G502 Proteus Spectrum RGB Tunable Gaming Mouse, 12,000 DPI On-The-Fly DPI Shifting
Google Wifi system (set of 3) - Router replacement for whole home coverage
Gaming Keyboard, UtechSmart Saturn RGB Visual Effect Wired Gaming Keyboard with Rainbow LED Backlit
Samsung 32GB BAR (METAL) USB 3.0 Flash Drive (MUF-32BA/AM)
HP Pavilion 22cwa 21.5-inch IPS LED Backlit Monitor
Mancro Business Water Resistant Polyester Laptop Backpack with USB Charging Port and Lock Fits Under 17-Inch Laptop and Notebook, Grey
Rexing V1 Car Dash Cam 2.4" LCD FHD 1080p 170 Degree Wide Angle Dashboard Camera Recorder with Sony Exmor Video Sensor, G-Sensor, WDR, Loop Recording
Posted on Friday, September 1, 2017 10:40 AM | Back to top


Comments on this post: Code Search - Visual Studio Text Editor Extension - v1.1 Update

# re: Code Search - Visual Studio Text Editor Extension - v1.1 Update
Requesting Gravatar...
No, thank you! :)
Left by Greg Duncan on Sep 01, 2017 12:05 PM

# it is nice
Requesting Gravatar...
it is really good
Bet Dank Memes
Left by alinse on Sep 02, 2017 1:55 AM

# re: Code Search - Visual Studio Text Editor Extension - v1.1 Update
Requesting Gravatar...
Great!!! It's very useful and informative article. Thanks mate... !!!

<a href="http://danihealthbook.com/>Day Night Health Book
Left by Day Night Health Book on Sep 02, 2017 4:12 AM

# re: Code Search - Visual Studio Text Editor Extension - v1.1 Update
Requesting Gravatar...
Thanks for sharing this article. Visit my website:
tại đây
Left by nguyen thai on Sep 05, 2017 3:16 AM

# re: Code Search - Visual Studio Text Editor Extension - v1.1 Update
Requesting Gravatar...
A very useful extension that beautifully links from Visual Studio directly to TFS ... Beautiful and thanks.
Left by Venky Venkataraman on Sep 14, 2017 5:13 AM

Your comment:
 (will show your gravatar)


Copyright © MikeParks | Powered by: GeeksWithBlogs.net