Make links clickable
Parse console output for urls and make it possible to open them with a click (or ctrl+click).
Yep, this would be really cool. Not just for URLs, but things like paths too. Script emits a path to an error log? Just ctrl+click it to open!
I can see some trickery around the parsing (performance impacts? security? and of course the parsing itself…) and the launching of another app (security again?). But it would be awesome.
It’s on our backlog for sure.
Probably an easier feature to implement with the now open-source Windows Terminal.
Galen Warren commented
+1 for being able to click hyperlinks in WSL (just urls would be fine to start)
Georgii D commented
"Not just for URLs..." Please keep it simple. Let's start with just URLs. For a start... :-)
Ariel Popper commented
It would be great if you thought about having more a www-like action for hyperlinks. It seems that iTerm2 and Gnome-Terminal have both picked it up.
Stuart Axon commented
If a file has been opened or stat'd just before it's name is output that would be a good time to make it clickable
Is it really so important??? Having correct working selection with mouse: select URL (Path, whatever), press Win, CTRL+V, Enter! You can go anywhere supported by system.
Start menu search should get support for path back.
An alternative to real-time parsing and highlighting of text output (and performance concerns), would be 1) select text of interest, 2) right-click context menu parses the text and offers relevant options: -
* [file path] Open in Explorer
* [filename] Open file
* [link] Open in browser
* [email]New email
* [all] Search web
Similar to what Chrome does.