[BUG] No results returned for the `fileSearch` tool when querying a network drive, works fine when ommited

Open
#317,771 0 comments 0 reactions 1 assignee View on GitHub

@roblourens is already working on this.

Since May 21, 2026.

Assessment

This issue has not been assessed yet.

Description

https://github.com/microsoft/vscode/labels/copilot-chat https://github.com/microsoft/vscode/labels/chat-agent https://github.com/microsoft/vscode/labels/bug

  • Copilot Chat Extension Version: directly included in VS ode
  • VS Code Version: 1.122.0-insider
  • OS Version: Windows 11
  • Feature (e.g. agent/edit/ask mode): Agent mode
  • Selected model (e.g. GPT 4.1, Claude 3.7 Sonnet): GPT-5.5 Medium

Steps to Reproduce:

  1. Open a folder on a network drive
  2. Query Copilot in a way that would need it to search for files itself
  3. See the fileSearch tool return 0 results for /192.168.1.50/path/to/folder/** (for example)
  4. See it actually return results when querying **/folder/**


Dominant language
TypeScript
Stars
193k
Forks
42.9k
PR merge metrics
PR metrics pending

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from microsoft/vscode

All issues in microsoft/vscode

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.