在webstorm中使用nodejs庫的智能提示功能

webstorm中默認只是打開ecmascript的智能提示,如果需要使用nodejs作爲js的引擎,請打開nodejs的智能提示功能,File -> Settings… -> Languages&Frameworks -> Node.js and NPM ->勾選Coding assistance for Node.js,如圖:
相關文章
相關標籤/搜索