私は、いくつかの関数を含むjsファイル名business_video.jsを持っています。私はそれらをエクスポート終わり:WebStormはエクスポートされた関数の用途を見つけることができません
module.exports = {
checkShare,
checkDownloadFile,
uploadVideo,
quickTransferVideo,
searchVideoInshared,
renameVideo,
deleteVideo,
addTags,
deleteTag,
downloadFileToFromHDFSToServer,
doesFileExistInServer,
videoSquare,
getVideoInfoByIdsArray
}
私はその後const abc = require('../business_video')
abc.getVideoInfoByIdsArray()
を使用する者を含むプロジェクト全体における関数名getVideoInfoByIdsArray
の使用状況を、見つけたいです。
しかし私は function getVideoInfoByIdsArray(){...}
でF7を押すと、それは唯一の使用がmodule.exports={...}
にあることを示しています。どのようにプロジェクト全体でその用途を見つけることができますか?
'module.exports = { checkShare:checkShare}'このようにする必要があります –