なんか、拡張機能が全然、一覧に載ってこない。
メッセージには
We cannot connect to the Extensions Marcketplace at this time, please try again later.
と書かれています。
「try again later」しても状況は、変わらんのですよ。
本ページは、下記のサイトを参考にさせていただきました。
「Unable to download extensions in code - Support / 3rd party applications - Manjaro Linux Forum」
「VS Code: 拡張機能がインストールできなくなった時の対処」
2. そんなものないわ
参考サイトによれば、「MAC」であれば
/Users/[User Name]/.vscode/extensions/.obsolete
というファイルを消せばいいらしい。
「Linux」では
~/.vscode-oss/extensions/.obsolete
になるはずであるが・・・。
ディレクトリは、あるが、そんなファイルないわ。
3. ~/.vscode-oss/argv.json
で、さらに検索したあげく「Unable to download extensions in code - Support / 3rd party applications - Manjaro Linux Forum」の方法でなんとかなったのである。
インストールされているバージョンが「1.58.0」で、参考サイトで紹介しているバージョンとぴたり一致したのです。
vi ~/.vscode-oss/argv.json
// This configuration file allows you to pass permanent command line arguments to VS Code.
// Only a subset of arguments is currently supported to reduce the likelihood of breaking
// the installation.
//
// PLEASE DO NOT CHANGE WITHOUT UNDERSTANDING THE IMPACT
//
// NOTE: Changing this file requires a restart of VS Code.
{
// Use software rendering instead of hardware accelerated rendering.
// This can help in cases where you see rendering issues in VS Code.
// "disable-hardware-acceleration": true,
// Enabled by default by VS Code to resolve color issues in the renderer
// See https://github.com/microsoft/vscode/issues/51791 for details
"disable-color-correct-rendering": true,
// Allows to disable crash reporting.
// Should restart the app if the value is changed.
"enable-crash-reporter": true,
// Unique id used for correlating crash reports sent from this instance.
// Do not edit this value.
"crash-reporter-id": "e9e1dc0f-b4e0-4529-b163-397922d452a8"
}
23 行の後ろへ追加します。
// Unique id used for correlating crash reports sent from this instance.
// Do not edit this value.
"crash-reporter-id": "e9e1dc0f-b4e0-4529-b163-397922d452a8",
"enable-browser-code-loading": false
}
これで、恐る恐る「Visual Studio Code」を開いてみたら、ぴたりと解決していたのでありますよ。