[英]Autocomplete not working with Node.js in webstorm
Just downloaded WebStorm and giving Node.js a try. 刚刚下载了WebStorm并尝试了Node.js。
Unfortunately the autocomplete does not seem to work. 不幸的是,自动完成功能似乎不起作用。
I have set the node js interpreter to node.exe but saw a post saying that I should set it to the Node.js file. 我已经将节点js解释器设置为node.exe,但是看到一则帖子说我应该将其设置为Node.js文件。 When I used Node.exe, at least the version was populated in the Node.js configuration dialog, however when I download the code and select the Node.js file I get "Version not found". 当我使用Node.exe时,至少在Node.js配置对话框中填充了该版本,但是当我下载代码并选择Node.js文件时,我得到“找不到版本”。
Either way, autocomplete does not work. 无论哪种方式,自动完成均不起作用。
完成“文件->无效的缓存”后,所有文件似乎都可以工作。
Delete .idea (hidden) directory from your project folder and open the project again. 从您的项目文件夹中删除.idea (隐藏)目录,然后再次打开该项目。
"File->Invalidate cache"
did not work for me. "File->Invalidate cache"
不适用于我。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.