Opening file link in format like `file:///Users/someDir/someFile.kt:35:24` doesn't work - nothing happens on click

Open
#3,970 8 comments 11 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
macos, rust, zsh
Domain
cli, desktop

Research direction

No source file or test is named. Reproduce the issue with echo file:///Users/Downloads/foo.txt and Cmd-click the link, then trace the file-link click handling and default-editor launch path; done means the existing file opens in the configured default editor on macOS.

Written by the indexing model from the issue text.

Description

bug ready-to-implement triaged
Discord username (optional)

No response

Describe the bug

Trying to CMD + Click on a file link from Warp terminal, nothing happens. Tried setting Default Editor to different apps.
Example of a file link:

file:///Users/Downloads/foo.txt

Warp does offer to open the file on click but is unable to - nothing happens.

To reproduce
  1. Execute echo file:///Users/Downloads/foo.txt (replace foo.txt with some existing file)
  2. Cmd click on the file link
Expected behavior

File opens in the default editor

Screenshots

Nothing happens

Operating system

MacOS

Operating system and version

MacOS 13.6.2 (22G320)

Shell Version

zsh 5.9 (arm-apple-darwin21.3.0)

Current Warp version

v0.2023.12.05.08.02.stable_00

Regression

No, this bug or issue has existed throughout my experience using Warp

Recent working Warp date

No response

Additional context

No response

Does this block you from using Warp daily?

Yes, this issue prevents me from using Warp daily.

Is this a Warp specific issue? (i.e. does it happen in Terminal, iTerm, Kitty, etc.)

Yes, this I confirmed this only happens in Warp, not other terminals.

Warp Internal (ignore): linear-label:b8107fdf-ba31-488d-b103-d271c89cac3e

None

Dominant language
Rust
Stars
65.1k
Forks
5.6k
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 warpdotdev/warp

All issues in warpdotdev/warp

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.