Skip to content

File links containing "[" and "]" don't work in terminal #161543

@alex-statsig

Description

@alex-statsig

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

  • VS Code Version: 1.71.0-insider
  • OS Version: macOS Big Sur 11.6

Steps to Reproduce:

  1. echo a link in terminal containing "[" or "]" characters (ex. echo /Users/alex/dev/statsig/console/pages/[company_id]/dashboards/[dashboard].tsx)
  2. Try to cmd+click the link, observe that it is split on those characters. For example, /Users/alex/dev/statsig/console/pages/[company_id]/dashboards/[dashboard].tsx links to /Users/alex/dev/statsig/console/pages/, company_id, /dashboards/, dashboard, and .tsx. In reality this is one valid path (nextjs uses "[ ]" to identify parameters in URLs)

Screen Shot 2022-09-22 at 5 12 00 PM

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions