Skip to content

Terminal Ctrl+Click on a file with colon in filename does not open the file, preceding zeroes are deleted #247568

@phiresky

Description

@phiresky

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

  • VS Code Version: 1.99.3
  • OS Version: Arch Linux

Steps to Reproduce:

  1. echo hello > test-$(date -Is).log
  2. echo ./test-2025-04-28T11:03:09+02:00.log
  3. echo test-2025-04-28T11:03:09+02:00.log

ctrl+click in the terminal. it will show "./test-2025-04-28T11:3:9 no matching results" instead of opening the file

Image

Interestingly, if you echo WITHOUT ./ prefix, and WITHOUT numbers (echo test-2025-04-28T11:19:24+02:00.log) it works fine, but only if the other file does not exist (prefix matching?)

There is some semi-related issues ( #193629 ) but I didn't see any where colons are part of the filename and thus misdetected.

Metadata

Metadata

Labels

bugIssue identified by VS Code Team member as probable bugconfirmedIssue has been confirmed by VS Code Team memberinsiders-releasedPatch has been released in VS Code Insidersterminal-linksverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions