VS CODE 使用 npm rg.exe CPU 占用100%

https://github.com/Microsoft/vscode/issues/35659
今天 vscode 打开之前的一个项目, CPU 占用直接卡到 100%
我还以为是哪个插件出了问题, 禁用插件, 问题依旧
github 上一搜索原来是 cnpm 出的问题, 重新用 npm install 问题消失

workaround:

  1. cnpm install --by=npm
  2. The upcoming 1.18 release has a new setting "search.followSymlinks"
    that you can set to false as an alternative workaround for this issue. (From #37000.)

你可能感兴趣的:(VS CODE 使用 npm rg.exe CPU 占用100%)