1
我對Javadoc很熟悉。在Javadoc,you can place a link that refers to the Javadoc placed on another type像這樣:如何在comments/JSDoc中引用另一個打字稿類型?
/**
* 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{ /*...*/ }
我可以做同樣的JSDoc的打字稿的味道?我知道我可以在評論中使用降價,我可以放置網頁鏈接,但這不完全是我要做的。
此外,爲了JSDoc /打字稿文檔工具的任何引用將是非常有益:)
編輯:每下面的答案,這是JSDoc的功能,但似乎並沒有被列入VSCode。 VSCode中是否有有效的語法?
我也許應該只是試着javadoc的語法吧? –
vs code似乎沒有拿起'{@link}':( –
我剛剛開始使用[typedoc](http://typedoc.org),它支持'@ link'。你的回答值得檢查 –