[转] Visual Studio Code behind a proxy
2016-07-12 10:44
483 查看
http://www.tuicool.com/articles/jyyIBf3
http://blog.majcica.com/2016/04/07/visual-studio-code-behind-a-proxy/?utm_source=tuicool&utm_medium=referral
This post is kind of a continuation of Tough life behind a proxy series. This time is the moment of Visual Studio Code. This application does require the web access when it come to plugin installation. If you are behind a proxy, it will not be the easiest thing to achieve.
To set the proxy in Visual Studio Code you need to edit the User Settings. You can do so by opening them from the Preference menu:
Once you open it you will be presented with a screen showing the default settings and your user settings file that does override the default settings:
Now you can enter the following:
Some of these information is quite easy to retrieve on interweb, however often they do not mention https and disabling strict SSL. In order to install your extension this is a necessary setting.Make sure you have the latest version of Visual Studio Code installed before testing this as in some older versions this was not supported.
Save your settings and restart Visual Studio Code. Try now installing an extension, it should be a success.
If you are unaware on how to install an extension in Visual Studio Code, you can find more about this argument in the following blog post Announcing PowerShell language support for Visual Studio Code and more! under “Installing the extension” paragraph. To check the available extensions, please visit Visual Studio Marketplace .
Cheers
http://blog.majcica.com/2016/04/07/visual-studio-code-behind-a-proxy/?utm_source=tuicool&utm_medium=referral
This post is kind of a continuation of Tough life behind a proxy series. This time is the moment of Visual Studio Code. This application does require the web access when it come to plugin installation. If you are behind a proxy, it will not be the easiest thing to achieve.
To set the proxy in Visual Studio Code you need to edit the User Settings. You can do so by opening them from the Preference menu:
Once you open it you will be presented with a screen showing the default settings and your user settings file that does override the default settings:
Now you can enter the following:
// Place your settings in this file to overwrite the default settings { "http.proxy": "http://my.proxy.address:8080", "https.proxy": "http://my.proxy.address:8080", "http.proxyStrictSSL": false }
Some of these information is quite easy to retrieve on interweb, however often they do not mention https and disabling strict SSL. In order to install your extension this is a necessary setting.Make sure you have the latest version of Visual Studio Code installed before testing this as in some older versions this was not supported.
Save your settings and restart Visual Studio Code. Try now installing an extension, it should be a success.
If you are unaware on how to install an extension in Visual Studio Code, you can find more about this argument in the following blog post Announcing PowerShell language support for Visual Studio Code and more! under “Installing the extension” paragraph. To check the available extensions, please visit Visual Studio Marketplace .
Cheers
相关文章推荐
- Flymeos插桩适配教程
- 使用git管理项目遇到的问题
- 图片加载双缓存
- web支持emoji表情(mysql)
- Collection概要总结
- 微信公众号开发中的用户账号绑定
- iOS日常笔记
- thinkphp中的url跳转用法分析
- 自定义ProgressBar(更改系统主题方式实现)
- html5常用的js简介一
- Linux下51单片机开发
- poj 3468 的一些见解(线段树的初步学习)
- MJPhotoBrowser的用法
- 4000 基于python的selenium实现多窗口切换
- 程序导入Excel的三种方式
- HDOJ 2082 找单词(母函数模板)、 HDOJ 1028 整数拆分(母函数+打表)
- js闭包
- FFmpeg X264的preset和tune
- HDU 1711 Number Sequence
- linux内核中的typecheck函数