VSCdoe Remote-SSH 远程开发初始化慢

悠扬的幻想天空 - 博客

August 10, 2023 技术 • 作者:悠扬

最近发现 VSCode 远程开发初始化特别耗时,无法忍受。

一直处于 正在打开远程...

可以选择 OUTPUT - Server 查看对应日志,排查了原因是远程主机安装 Extension 太慢了,并卸载对应 Extension。

2023-08-10 19:35:36.972 [info] Installing extensions...
2023-08-10 19:35:44.062 [info] Installing extension 'ms-ceintl.vscode-language-pack-zh-hans'...
2023-08-10 19:35:44.063 [info] Getting Manifest... ms-ceintl.vscode-language-pack-zh-hans
2023-08-10 19:35:50.522 [info] Extensions is already requested to install ms-ceintl.vscode-language-pack-zh-hans
2023-08-10 19:36:39.142 [warning] Extension signature verification failed with error 'ENOENT': ms-ceintl.vscode-language-pack-zh-hans
2023-08-10 19:36:39.150 [info] Removed the extension from uninstalled list: ms-ceintl.vscode-language-pack-zh-hans
2023-08-10 19:36:39.216 [info] Adding language packs from the extension ms-ceintl.vscode-language-pack-zh-hans
2023-08-10 19:36:39.216 [error] Unknown error while installing extension ms-ceintl.vscode-language-pack-zh-hans
2023-08-10 19:36:39.216 [error] Error: Failed Installing Extensions: ms-ceintl.vscode-language-pack-zh-hans
    at p.installExtensions (/root/.vscode-server/bin/6445d93c81ebe42c4cbd7a60712e0b17d9463e97/out/vs/server/node/server.main.js:115:109)
    at async b.q (/root/.vscode-server/bin/6445d93c81ebe42c4cbd7a60712e0b17d9463e97/out/vs/server/node/server.main.js:150:49145)
    at async b.k (/root/.vscode-server/bin/6445d93c81ebe42c4cbd7a60712e0b17d9463e97/out/vs/server/node/server.main.js:150:48043)
    at async b.scanExtensions (/root/.vscode-server/bin/6445d93c81ebe42c4cbd7a60712e0b17d9463e97/out/vs/server/node/server.main.js:150:47726)
    at async l.call (/root/.vscode-server/bin/6445d93c81ebe42c4cbd7a60712e0b17d9463e97/out/vs/server/node/server.main.js:150:50840)
2023-08-10 19:36:39.316 [info] Marked extension as uninstalled ms-ceintl.vscode-language-pack-zh-hans-1.81.2023080209
2023-08-10 19:36:39.437 [info] Extension installed successfully: ms-ceintl.vscode-language-pack-zh-hans

我这个是被汉化插件阻塞了1分钟有多,这个版本的汉化有问题,卸载就正常了


已有 5 条评论

  1. 这篇文章写得深入浅出,让我这个小白也看懂了!

  2. 博主真是太厉害了!!!

  3. 博主真是太厉害了!!!

  4. 不错不错,我喜欢看 https://www.jiwenlaw.com/

  5. 想想你的文章写的特别好https://www.237fa.com/

添加新评论