![](/img/trans.png)
[英]How to access functions defined from one file to other via intellisense with vscode (visual studio) in javascript?
[英]Is there a way to get VSCode to display addition intellisense information about JavaScript functions from their comment lines?
使用 JS-Doc 格式。 然后它應該工作。 https://jsdoc.app/
/**
* Some comment
*/
export const replaceAll = (text: string, search: string, replace: string) => {
return text.split(search).join(replace);
};
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.