我无法登录 Visual Studio Code 进行 Live Share

Vin*_*sad 3 github visual-studio-code vscode-liveshare

每当我尝试在 Visual Studio Code 中实时共享时,它都会要求使用 Microsoft 或 GitHub 登录,但它们都无法在新窗口中打开。因此我无法登录。

登录问题截图

如何使用 GitHub 登录 VSCode 中的 Live Share?

Ham*_*rmD 7

根据Microsoft 文档,您可以使用“用户代码”登录作为解决方法:

  1. 确保安装了最新版本的 VS Code 和 Live Share 扩展。
  2. Ctrl+Shift+PCmd+Shift+P并运行"Live Share: Sign in with user code"命令。
  3. 如果浏览器仍未出现,请在浏览器中打开以下链接并登录。 https://insiders.liveshare.vsengsaas.visualstudio.com/auth/login
  4. 完成后,单击"Having trouble? Click here for user code directions"查看用户代码。
  5. 复制用户代码。
  6. 将用户代码粘贴到运行"Live Share: Sign in with user code"命令时出现的输入字段中,然后按 Enter 键完成登录过程。