-
Notifications
You must be signed in to change notification settings - Fork 13.2k
Description
TS Template added by @mjbvz
TypeScript Version: 4.6.0-dev.20211108
Search Terms
- jsdoc
- quick info
Does this issue occur when all extensions are disabled?: Yes
After searching the issues, I have found relevant ones :
- External jsdoc @link text not displaying properly with May 2021 update vscode#126180
- JSDoc @link tag does not support urls anymore vscode#126626 (closed as duplicates of the first one)
They are closed since v1.58.0 with this commit microsoft/vscode@7339e94. I don't know if they are related or not.

Using VSCode v1.62 shipped with TypeScript v4.4.3, the url gets splitted after https?.

Using TypeScript v4.2.4 only URLs work, not symbols.

Using TypeScript v4.3.5, everything works fine.
I do not understand why the JSDoc implementation on VSCode is dependent of TypeScript version even in pure JS files. I apologize if TypeScript version older than v4.3 are not supported, and I think they are not by reading the issues about implementing @link.
There is still an issue with the latest version.
I currently do not have the time to investigate more, sorry for that. Thanks for reading me!
Here is the sample of code I used :
class MyClass {
foo;
}
/**
* See {@link MyClass} and {@link MyClass.foo foo}.
* Also, check out {@link http://www.google.com} and
* {@link https://github.com GitHub}.
*
*
*
*/
function myFunction() {}VSCode About section :
Version: 1.62.0
Commit: b3318bc0524af3d74034b8bb8a64df0ccf35549a
Date: 2021-11-03T15:18:44.904Z
Electron: 13.5.1
Chrome: 91.0.4472.164
Node.js: 14.16.0
V8: 9.1.269.39-electron.0
OS: Linux x64 5.4.0-89-generic