Jump to content
  • Code search just became a lot more powerful in Visual Studio


    Karlston

    • 410 views
    • 2 minutes
     Share


    • 410 views
    • 2 minutes

    We already know that Microsoft is working on a major AI upgrade for its flagship integrated development environment (IDE), Visual Studio. However, that does not mean that the company is resting in the meantime. It recently brought GPT-5 to Visual Studio through GitHub Copilot, and now it is replacing traditional codebase search mechanisms with Remote Semantic Search.

     

    Up until now, code search in Visual Studio relied on the BM25 algorithm, which is an established and popular ranking method to search for items within a document. One of the factors it considers when returning results is how frequently a term appears in a particular document and how typical it is in the overall repository. This isn't a bad algorithm by any means, but it has a major limitation: it is keyword-based. So, if your term is not an exact match, BM25 may not be able to return accurate results.

     

    This is why, with Visual Studio 17.14.11, Microsoft has upgraded the Visual Studio Copilot Chat pane to leverage Remote Semantic Search instead of BM25. As the name implies, semantic search focuses more on the intent and meaning of the search through advanced vector embeddings rather than matching exact terms. This is exactly why "fetch user credentials" and "get authentication token" mean the same thing to it, even though they do not share exact terms. This contextual codebase-aware search process allows Visual Studio to return more accurate results, even if they are fewer in number, simply because keyword matching is not the sole consideration anymore.

     

    Visual Studio customers with GitHub Copilot can take advantage of Remote Semantic Search through the Chat window. It features "remote" in the name as it has indexed solutions that are hosted in Azure DevOps and GitHub repositories. Microsoft believes that this upgraded search experience will make developers more productive as it will facilitate them in finding exactly what they are looking for.

     

    Source


    Hope you enjoyed this news post. Feedback welcome.

    Posted Friday 15 August 2025 at 4:41 am AEST (my time).

    News posts... 2023: 5,800+ | 2024: 5,700+ | 2025 (till end of July): 3,458

    RIP Matrix


    User Feedback

    Recommended Comments

    There are no comments to display.



    Join the conversation

    You can post now and register later. If you have an account, sign in now to post with your account.
    Note: Your post will require moderator approval before it will be visible.

    Guest
    Add a comment...

    ×   Pasted as rich text.   Paste as plain text instead

      Only 75 emoji are allowed.

    ×   Your link has been automatically embedded.   Display as a link instead

    ×   Your previous content has been restored.   Clear editor

    ×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...