WebStorm默认内置了Node.Js的代码补全功能,但是需要手动去开启
Setting->Languages & Frameworks->Node.js and NPM
找到Coding Assistance这一项然后Enable就好啦
Coding Assistance
Enable