解决webstorm开发vue项目时经常卡死,代码提示功能时好时坏的问题
- 原因:webstorm开发vue项目时经常卡死,代码提示功能时好时坏,是因为
node_modules文件夹里面的文件数量太多了,webstorm 索引不过来。解决方法是使webstorm 忽略node_modules文件夹的索引 - 解决方法:在 settings--->editor--->File Types 中的 ignore files and floders中添加
node_modules即可 - 参考下面的图文解决