Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Terminal Links highlight correct link but open incorrect one #244698

Open
damolina-stripe opened this issue Mar 26, 2025 · 0 comments
Open

Terminal Links highlight correct link but open incorrect one #244698

damolina-stripe opened this issue Mar 26, 2025 · 0 comments

Comments

@damolina-stripe
Copy link

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

  • VS Code Version: 1.98.2
  • OS Version: macOS Sequoia 15.3.2

Steps to Reproduce:

  1. Open a terminal (verified with bash and zsh with not customizations)
  2. Run this: echo "foo/file1.txt:1 foo/file1.txt:20" (or just paste in, all you need is this to be on the terminal)
  3. Hover over output: each relative-path -like value is underlined as expected, including the line number.
  4. Cmd+click on first one: foo/file1.txt:1:
    • Correct/expected: foo/file1.txt:1 will be tried to be open from the Command Palette.
  5. Cmd+click on second one (foo/file1.txt:20):
    • ISSUE: foo/file1.txt:1 will be tried to be open from Command Palette even though foo/file1.txt:20 was underlined and clicked on.

I tried a few combinations of paths, existing and not existing, with up to a few dozen paths, and bug pattern was not clear: sometimes it would pick first n-paths and then stop working after that depending on typed paths. Terminal was cleared, restarted and kept as default as possible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants