![](/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.