Children are what the mothers are.
耳濡目染
Updated time: 01/23 2024.
Ref:
error
Github 学生身份验证以后可以免费使用 copilot 插件。
在 vs code 上安装插件并登录以后,显示 error
Extension activation failed: "At this time, Copilot is not available in your location. You are currently logged in as XXX."
原因
网络原因,中国和俄罗斯都被ban了。首先外部 vpn 软件已经连上了,然后还得设置vs code内部的代理。
Now, It works.
# First,
• Press Win + I to open Settings.
• Go to Network & Internet > Proxy.
• If you're using a manual proxy, it will be listed here.
Address is 127.0.0.1, port is 7890
# Second,
Configure Proxy in VS Code:
• Open Visual Studio Code.
• Go to Settings (File > Preferences > Settings or Ctrl + ,).
• Search for proxy.
• In the HTTP Proxy setting, input https://127.0.0.1:7890
• Set HTTP Proxy Support to override.
# After restarting the software, the extension works!
使用
ctrl+I
开启插件,这样才能自动补全。
Bypass
bypass:
- localhost
- 127.*
- 10.*
- 172.16.*
- 172.17.*
- 172.18.*
- 172.19.*
- 172.20.*
- 172.21.*
- 172.22.*
- 172.23.*
- 172.24.*
- 172.25.*
- 172.26.*
- 172.27.*
- 172.28.*
- 172.29.*
- 172.30.*
- 172.31.*
- 192.168.*
- <local>
- "*baidu.com*"
- "*cc98.org*"
- "*bing.com*"
- "*westlake.edu.cn*"
- "*zju.edu.cn*"
- "*sciencedirect.com*"
- "*springer.com*"
- "*wiley.com*"
- "*elsevier.com*"
- "*pubmed.gov*"
- "*jstor.org*"
- "*plos.org*"
- "*sagepub.com*"
- "*sciencemag.org*"
- "*science.org*"
- "*nature.com*"
- "*aps.org*"
- "*acm.org*"
- "*cell.com*"
- "*ieee.org*"
- "*academic.oup.com*"
- "*cambridge.org*"
- "*rsc.org*"
- "*annualreviews.org*"
- "*acs.org*"
- "*pnas.org*"
- "*sciencedirectassets.com*"
- "*doi.org*"
- "*aip.org*"
- "*141.66.193.6*"
- "*webofscience*"
- "*tsinghua.edu.cn"
- "*bilibili.com"
- 172.16.*
- "*.para.bscc"
Please indicate the source when reprinting. Please verify the citation sources in the article and point out any errors or unclear expressions.