0
我有一個包含一些函數的js文件名稱business_video.js。最後我將它們導出:WebStorm無法找到導出的函數的用法
module.exports = {
checkShare,
checkDownloadFile,
uploadVideo,
quickTransferVideo,
searchVideoInshared,
renameVideo,
deleteVideo,
addTags,
deleteTag,
downloadFileToFromHDFSToServer,
doesFileExistInServer,
videoSquare,
getVideoInfoByIdsArray
}
我想找到一個函數名稱在整個項目getVideoInfoByIdsArray
的使用情況,包括那些誰使用const abc = require('../business_video')
然後abc.getVideoInfoByIdsArray()
。
但是,當我按下F7 function getVideoInfoByIdsArray(){...}
它顯示唯一的用法是在module.exports={...}
。我怎樣才能找到整個項目的用法?
'module.exports = { checkShare:checkShare}'應該是這樣的 –