github - I'm unable to login in Visual Studio Code to Live Share
问题描述
Whenever I try to Live Share in Visual Studio Code it asks to login with either Microsoft or GitHub, but both of them are unable to open in a new window. I'm unable to login because of that.
How can I login using GitHub to Live Share in VSCode?
解决方案
根据Microsoft 文档,您可以使用“用户代码”作为解决方法登录:
- 确保您安装了最新版本的 VS Code 和 Live Share Extension。
- 按
Ctrl+Shift+P
或Cmd+Shift+P
并运行"Live Share: Sign in with user code"
命令。 - 如果浏览器仍未出现,请在浏览器中打开以下链接并登录。 https://insiders.liveshare.vsengsaas.visualstudio.com/auth/login
- 完成后,单击
"Having trouble? Click here for user code directions"
以查看用户代码。 - 复制用户代码。
- 将用户代码粘贴到运行
"Live Share: Sign in with user code"
命令时出现的输入字段中,然后按 Enter 键完成登录过程。
推荐阅读
- c# - Mono 是否支持用户设置中的 StringCollections?
- c++ - 私有变量的 C++ getter 方法不能正常工作(只有 Java 经验)
- pandas - 在 python 3.7 中使用 pandas 进行网络抓取时出现“找不到表”错误
- r - 预测 3 个水平的因子并返回每个因子的百分比
- python - 用推导式逼近黎曼和
- google-cloud-firestore - Datastore 模式下的 Firestore:枚举属性值的索引热点与差的索引?
- javascript - 如何每 5 个值插入一个换行符?
- postgresql - 在 Postgres 11.6 中从循环开始时选择事件
- docker - Asp.Net Core docker-compose https 自签名证书问题
- oauth-2.0 - 尝试检索 Oauth access_token 时出现 AADSTS50146 错误