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
VS Code Version: 1.61.0
OS Version: MacOS
When providing a TerminalLinkProvider, if the user if using a Task and reuses the terminal a Task has ran in he text gets detected and highlighted correctly, but TerminalLinkProvider.handleTerminalLink function is never called and it defaults to the file picker. Sample project and steps below. This happens even if "clear": true is set for presentation, but does not happen if the task is set to "panel": "new" for presentation.
Add the below task to the folder you are debugging in
{
"version": "2.0.0",
"tasks": [
{
"command": "node -e \"console.log('link')\"",
"label": "Test",
"type": "shell",
"problemMatcher": [],
"group": {
"kind": "build",
"isDefault": true
},
"presentation": {
// "panel": "new", // uncomment me and it works, but you get a new terminal everytime// "clear": true // uncomment me and it is still broken
}
}
]
}
Open command palette and Tasks: Run Build Task
Click link in the terminal, a notification shows
Open command palette and Tasks: Run Build Task (make sure to leave the terminal open)
Click link in the terminal, no notification shows
link is identified and underlined correctly, but handleTerminalLink is just never called
The text was updated successfully, but these errors were encountered:
Does this issue occur when all extensions are disabled?: Yes
When providing a TerminalLinkProvider, if the user if using a Task and reuses the terminal a Task has ran in he text gets detected and highlighted correctly, but
TerminalLinkProvider.handleTerminalLink
function is never called and it defaults to the file picker. Sample project and steps below. This happens even if"clear": true
is set for presentation, but does not happen if the task is set to"panel": "new"
for presentation.Steps to Reproduce:
Sample project - https://github.com/ewanharris/terminallinkprovider-bug
Tasks: Run Build Task
link
in the terminal, a notification showsTasks: Run Build Task
(make sure to leave the terminal open)link
in the terminal, no notification showslink
is identified and underlined correctly, buthandleTerminalLink
is just never calledThe text was updated successfully, but these errors were encountered: