@link
tags don't work in .svelte
files
Doc comments with @link
tags are no longer clickable links when rendered to their tooltip within a .svelte
file.
The following interface:
interface FooBar {
foo: 1
bar: 2
/**
* Sum of {@link foo} and {@link bar}
*/
foo_bar: 3
}
When placed (or imported) into a .svelte
file, no longer shows clickable links.
In a .ts
file, foo
and bar
are clickable links:
Svelte for VS Code extension
No response
I am marking this as a "feature request" because this feature is done in the VSCode typescript extension instead of typescript's language service. This means this isn't a misconfiguration or a simple function call, we needed to rewrite the feature to fit into our codebase. If anyone is interested in implementing it, it's in https://github.com/microsoft/vscode/blob/d012408e88ffabd6456c367df4d343654da2eb10/extensions/typescript-language-features/src/languageFeatures/util/textRendering.ts#L180