terminal icon indicating copy to clipboard operation
terminal copied to clipboard

Feature Request: link generation for files + other data types

Open AshrafMichail opened this issue 6 years ago • 4 comments

#2094 Description of the new feature/enhancement

There are a number of scenarios where having a link detected with a meaningful click action would be helpful:

  1. File (optional line number): click action could launch an editor.

  2. Directory: click action can to change to that directory

  3. Git commit: click action can bring up a description of the commit in the appropriate web page or tool

AshrafMichail avatar Sep 05 '19 17:09 AshrafMichail

Linking #574, since the infrastructure for detecting URLs/regex-matching files will be the same.

DHowett-MSFT avatar Sep 05 '19 21:09 DHowett-MSFT

Originally posted by @skyline75489 in #9669:

Inspired by #8166 (comment), we can also make the result of ls clickable if the CWD is provided. This is also possible in iTerm2. I'm not sure which sequence or technology it uses to detect the CWD, though. Anyway, with OSC9;9 recently added, this is also possible in WT.

Originally posted by @skyline75489 in #7526 (comment)

I think this is what I prefer over #9661. And there is precedent like iTerm2 who handles the file URL detection very well.

zadjii-msft avatar Apr 02 '21 10:04 zadjii-msft

Any updates on this? It's such a crucial feature that I'm genuinely fail to comprehend how it's still in backlog when Terminal gets a ton fluff features all the time. Lack of clickable paths is last thing I can't get over with in order to migrate from ConEmu. Am I missing something?

Klaster1 avatar Jun 02 '25 05:06 Klaster1

ton fluff features all the time

What would you have me cut to fund this? Edit? Sudo? The command palette?

DHowett avatar Jun 02 '25 16:06 DHowett