2021年11月15日 星期一

VSCode 更新檔下載很慢的解法

 VSCode 每有更新, 下載檔案的速度很慢時,

把下載的 Server 位址改為 "vscode.cdn.azure.cn" 即可。

===============================================

如果是 extension 下載很慢的話,解法如下:

(引用自:https://stackoverflow.com/questions/58901712/c-c-extension-downloading-for-long-time-in-vscode

  1. Go to vscode cpp tools release page
    https://github.com/Microsoft/vscode-cpptools/releases

  2. Scroll down and download the .vsix file corresponding to your OS (in your case it's win32) look for your OS in a section like this

  3. Open command prompt and type in
    code --install-extension <path to your downloaded .vsix file>
  4. Close and reopen VSCode and the extension downloading window should no longer appear