-
Notifications
You must be signed in to change notification settings - Fork 37.4k
Closed
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable buginsiders-releasedPatch has been released in VS Code InsidersPatch has been released in VS Code InsidersjavascriptJavaScript support issuesJavaScript support issuestypescriptTypescript support issuesTypescript support issuesverifiedVerification succeededVerification succeeded
Milestone
Description
Does this issue occur when all extensions are disabled?: Yes/No
- VS Code Version:
- OS Version:
Steps to Reproduce:
- Create a
.tsfile containingThis is one of the valid ways of providing link text according to https://jsdoc.app/tags-inline-link./** * {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise/withResolvers|Promise.withResolvers} */
- Cmd-Click (or Windows equivalent) on the URL
- VSCode opens https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise/withResolvers%7CPromise.withResolvers, instead of https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise/withResolvers
When I tried {@link http://www.google.com|Google}, Cmd-Clicking on the link doesn't open anything, and logs
2024-08-13 12:04:55.265 [error] TypeError: Invalid URL
at new URL (node:internal/url:797:36)
at Object.canOpenExternalUri (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/simple-browser/dist/extension.js:1:6134)
Fortunately I can use [Link Text]{@link URL} format, but I expected VSCode to support any valid @link format.
Metadata
Metadata
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable buginsiders-releasedPatch has been released in VS Code InsidersPatch has been released in VS Code InsidersjavascriptJavaScript support issuesJavaScript support issuestypescriptTypescript support issuesTypescript support issuesverifiedVerification succeededVerification succeeded