本人配置
VsCode 版本: 1.79.2 (Universal)
MacOs 版本:13.2.1 (22D68)
芯片:Apple M2 Pro文章來源:http://www.zghlxwxcb.cn/news/detail-662028.html
解決辦法:
-
打開mac監(jiān)視器 ,查看cpu運行的code helper (plugin);
-
雙擊 查看code helper (plugin) 找到 打開的文件和端口;
- 這里可以留意查看 被圈起來的內(nèi)容。 這就是大概率影響你CPU的插件你可以嘗試逐一卸載/禁用, 直到找到卸載了什么會直接把cpu降下來的插件為止。
日志內(nèi)容:
/Users/t/Library/Application Support/Code/logs/20230630T000354/window2/exthost/output_logging_20230630T000803/7-AWS Toolkit.log
/Users/t/Library/Application Support/Code/logs/20230630T000354/window2/exthost/output_logging_20230630T000803/8-GitLens.log
/Users/t/Library/Application Support/Code/logs/20230630T000354/window2/exthost/output_logging_20230630T000803/9-Prettier.log
/Users/t/Library/Application Support/Code/logs/20230630T000354/window2/exthost/output_logging_20230630T000803/10-Code.log
我這里卸載的是 codesandbox 插件,卸載完直接回到 0.1??文章來源地址http://www.zghlxwxcb.cn/news/detail-662028.html
到了這里,關(guān)于解決vscode 【code helper (plugin)】 占用CPU超過 100% 導致卡死的問題。的文章就介紹完了。如果您還想了解更多內(nèi)容,請在右上角搜索TOY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!