我对Javadoc很熟悉.在Javadoc中,您可以放置一个引用Javadoc的链接放在另一个类型上,如下所示:
/**
* some java thingy. see this other java thingy too {@link OtherThingy}
*/
public class Thingy { /*...*/ }
/**
* some other java thingy. see the first java thingy too {@link Thingy}
*/
public class OtherThingy{ /*...*/ }
Run Code Online (Sandbox Code Playgroud)
我可以在打字稿的JSDoc风格中做同样的事情吗?我知道我可以在评论中使用markdown,我可以放置网页链接,但这不是我想要的.
此外,任何对JSDoc/typescript文档工具的引用都会非常有用:)
编辑:根据下面的答案,这是JSDoc的一个功能,但似乎没有包含在VSCode中.VSCode中是否有有效的语法?