Skip to content
| Marketplace
Sign in
Visual Studio>Tools>Code Search - Visual Studio Text Editor
Code Search - Visual Studio Text Editor

Code Search - Visual Studio Text Editor

MikeParks

|
4,539 installs
| (4) | Free
Adds Code Search to Visual Studio Text Editor context menu to search by highlighted text.
Download

Prerequisites:

  • Visual Studio 2015 or 2017
  • One of the following source control providers:
    • Visual Studio Team Services or Team Foundation Server (2015 or higher) 
      • Microsoft's Code Search 
        • This must be installed on your VSTS or TFS Server
        • Install: https://marketplace.visualstudio.com/items?itemName=ms.vss-code-search
    • GitHub
      • GitHub's Code Search (on by default)

Source:

  • GitHub Repo: 
    • https://github.com/mikeparks/VisualStudioExtensions-CodeSearch
  • Blog: 
    • http://geekswithblogs.net/MikeParks/archive/2017/08/03/244580.aspx
    • http://geekswithblogs.net/MikeParks/archive/2017/09/01/244592.aspx
  • LinkedIn for Q&A:
    • https://www.linkedin.com/in/michaelparksdeveloper/

Details:

This extension allows you to run Microsoft's Code Search or GitHub's Code Search directly from the Text Editor in Visual Studio by highlighting text and clicking the Code Search context menu option. 

 

<DevNotes>

Hello World :) I threw this extension together a couple days ago. If you see any errors they will be thrown in a MessageBox. I exposed the exception on purpose. The code is published on GitHub, feel free to contribute if you see any issues or would like to add on to it! I was only going to pass this around work but I figured it might be benefical for other engineers running a source control setup similar to ours. Enjoy!

</DevNotes> 

 

Running Code Search From Visual Studio to Microsoft's Code Search installed on your TFS/VSTS server:

 

Running Code Search From Visual Studio to your actively connected GitHub.com Repository:

 

Release Notes:

  • v1.1
    • Added GitHub.com Repository Code Search support
    • Refactored Error Handling
    • Added backup LibGit2Sharp call to get TFS or GitHub URL when Team Explorer is not connected.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft