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.