Feature Request: link generation for files + other data types #3751

Open
opened 2026-01-30 23:29:21 +00:00 by claunia · 4 comments
Owner

Originally created by @AshrafMichail on GitHub (Sep 5, 2019).

#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

Originally created by @AshrafMichail on GitHub (Sep 5, 2019). #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
claunia added the Issue-FeatureProduct-TerminalArea-Extensibility labels 2026-01-30 23:29:21 +00:00
Author
Owner

@DHowett-MSFT commented on GitHub (Sep 5, 2019):

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

@DHowett-MSFT commented on GitHub (Sep 5, 2019): Linking #574, since the infrastructure for detecting URLs/regex-matching files will be the same.
Author
Owner

@zadjii-msft commented on GitHub (Apr 2, 2021):

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 commented on GitHub (Apr 2, 2021): Originally posted by @skyline75489 in #9669: > Inspired by [#8166 (comment)](https://github.com/microsoft/terminal/issues/8166#issuecomment-724151089), 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)](https://github.com/microsoft/terminal/pull/7526#issuecomment-766674544)_ > I think this is what I prefer over #9661. And there is precedent like iTerm2 who handles the file URL detection very well.
Author
Owner

@Klaster1 commented on GitHub (Jun 2, 2025):

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 commented on GitHub (Jun 2, 2025): 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?
Author
Owner

@DHowett commented on GitHub (Jun 2, 2025):

ton fluff features all the time

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

@DHowett commented on GitHub (Jun 2, 2025): > ton fluff features all the time What would you have me cut to fund this? Edit? Sudo? The command palette?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#3751