Skip to content

Opening remote WSL Ubuntu folder through command line with a trailing slash breaks search functionality and causes VSCode to hang #183670

@ImperiumXVII

Description

@ImperiumXVII

Does this issue occur when all extensions are disabled?: Yes

  • VS Code Version: 1.78.2
  • OS Version: Windows 11 22H2 (22621.1778)

Steps to Reproduce:

image

  1. Open a WSL folder from the command line with the argument --remote, with a trailing forward slash. Example: code --remote wsl+ubuntu home/root/my-workspace/
  2. Try to search all files for any search term. The files will not appear.

image

  1. Open a WSL folder from the command line with the argument --remote, without a trailing forward slash. Example: code --remote wsl+ubuntu home/root/my-workspace
  2. Try to search all files for any search term. The files will appear.

image

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable buginsiders-releasedPatch has been released in VS Code InsiderssearchSearch widget and operation issuesverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions