1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

VS Code: 拡張機能がインストールできなくなった時の対処

Last updated at Posted at 2020-07-28

VS Code の拡張機能がインストールできなくなった時の対処方法

症状

  • install をクリックしてもインストールされない
  • install をクリックすると,Failed to install となり,手動でのインストールを促してくる
    • 手動でインストールするように警告されるので,vsixファイルをダウンロードし,vsixからインストールを試みるも失敗
  • ExtensionsのRECOMMENDEDをみてみると,we cannot connect to the extensions marketplace at this timeというような文面が表示される.

解決法

Macであればおそらく,/Users/[User Name]/.vscode/extensions下に**.obsolete**というファイルが存在する.
このファイルを削除( $ rm .obsolete )すれば解決するはずである.

  • .obsolete: アンインストールした拡張機能のリストが保存されている
    なぜobsoleteファイルを削除すると直るのかは不明.
1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?