You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Does this issue occur when all extensions are disabled?: Yes/No (Not applicable. An extension that logs paths/url to the Output window is required to reproduce the issue)
VS Code Version: 1.73.1
OS Version: Linux (Zorin OS Pro 16).
Steps to Reproduce:
Install an extension that logs clickable links/file paths to the Output Window (for example, Wallaby)
Trigger an action that makes the extension above log an entry that includes a clickable link/file path to the Output Window
Observe that no links/file paths in the Output window is clickable; neither via Ctrl + Click nor Alt + Click
Expected outcome:
Notice that the text Launch Coverage & Test Explorer is a clickable link
Actual outcome (bug)
Notice that the text Launch Coverage & Test Explorer** is not clickable
Any clue as to why the same extension, same version, will behave differently? His output window is clickable (as evident in the screenshot above); while I have a different experience. Will tagging him here help?
Benjamin Pasero (@bpasero) I am unsure if that request is directed at Simon McEnlly (@smcenlly) or myself. However, a hello world extension is not required to reproduce this, IMO. Only two conditions need to be met to reproduce this issue:
Anything that writes file paths or URLs to the output window. See the below screenshot of the built-in Git extension. None of those file paths is clickable
VS Code running on Linux OS (in my case, specifically Zorin OS Pro. It is based on Ubuntu)
Perhaps I'm unable to communicate this very well, or you choose to not understand the problem. Either ways, I do not see the current direction this is headed as yielding any result.
Activity
[-]File paths and links in the Output window are not clickable[/-][+]Support relative paths as links in output[/+]bpasero commentedon Nov 29, 2022
We only support absolute paths that are inside the workspace as links for performance reasons. See also #163778 and #149153
2 remaining items
damms005 commentedon Nov 30, 2022
Any clue as to why the same extension, same version, will behave differently? His output window is clickable (as evident in the screenshot above); while I have a different experience. Will tagging him here help?
bpasero commentedon Nov 30, 2022
Sorry I am not sure, Sandeep Somavarapu (@sandy081) Matt Bierner (@mjbvz) or Johannes Rieken (@jrieken) do you know if extensions can provide links to output viewer?
jrieken commentedon Nov 30, 2022
Yes - via the
DocumentLinkProviderAPI they canbpasero commentedon Nov 30, 2022
Ah yeah thanks, I had forgotten about that API. So it is possible that there is a bug in the extension that only surfaces on some operating systems.
smcenlly commentedon Dec 1, 2022
I'm from the Wallaby team. We had helped Damilola Emmanuel Olowookere (@damms005) triage his issue, and yes, we use the the DocumentLinkProvider API.
Damilola Emmanuel Olowookere (@damms005) told us the issue affected all extensions with links, not just ours.
bpasero commentedon Dec 2, 2022
Can you produce a minimal sample in a hello world extension for us to reproduce?
damms005 commentedon Dec 2, 2022
Benjamin Pasero (@bpasero) I am unsure if that request is directed at Simon McEnlly (@smcenlly) or myself. However, a hello world extension is not required to reproduce this, IMO. Only two conditions need to be met to reproduce this issue:
bpasero commentedon Dec 3, 2022
From core (without extensions) we only detect and show a link if the path is:
damms005 commentedon Dec 3, 2022
Only on Linux or across platforms? If across all platforms, what explains the different behaviour on Linux systems?
bpasero commentedon Dec 5, 2022
This is platform independent. I cannot explain platform inconsistencies, but if there is a small sample to play with, I am happy to try.
damms005 commentedon Dec 5, 2022
Perhaps I'm unable to communicate this very well, or you choose to not understand the problem. Either ways, I do not see the current direction this is headed as yielding any result.
Thanks for your efforts anyways.
damms005 commentedon Dec 22, 2022
For anyone that stumbled on this, the issue was having
"editor.links": falsein my settings.jsondamms005 commentedon Dec 22, 2022
Benjamin Pasero (@bpasero) The description for the link says 'Controls whether the editor should detect links and make them clickable'
Since this only affects the Output Window, perhaps the description should be updated to reflect same. It will be helpful in debugging like in my case