LoginSignup
10
14

More than 5 years have passed since last update.

プロキシ環境下でVisual studio codeにExtensionが入らない問題を解決する

Last updated at Posted at 2017-05-16

2017/8/18追記

Ver1.15.1でプロキシ認証の方法が変わり、直ったみたいです。よかった・・・
https://code.visualstudio.com/updates/v1_15#_proxy-server-authentication


認証付きのプロキシ環境下でVisual studio codeの画面からExtensionがインストールできない問題

去年の4月ぐらいにも同様の問題があったようなのですが、最近また再発したので、解決策をメモ

環境

Windows 10

コマンドラインからインストールする

githubのIssueにも解決策が書かれていたのですが、以下のコマンドを実行して、コマンドラインでエクステンションをインストールすると、proxy環境下でもExtensionをインストールできます。完全な解決策ではないですが、とりあえずはこれでしのげるかなと

> code --install-extension <author>.<extension>

<author>.<extension>の部分は、Visual studio codeのExtension画面を開いたときに、タイトルの横に表示されている文字列です

2017-05-17_00h00_25.png

同じ操作でアップデートもできるので、バッチファイルを作っておけば、便利かもしれません。

2017/6/19追記 一回 code --uninstall-extension <author>.<extension> してから、インストールしなおさないと、アップデート(この場合は再インストール?)できませんでした。

10
14
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
10
14