Skip to content

Commit

Permalink
Merge pull request microsoft#1909 from MicrosoftDocs/dev/caitlin/Docu…
Browse files Browse the repository at this point in the history
…mentAccountSettings

Document liveshare.account and liveshare.accountProvider settings
  • Loading branch information
Caitlin Hennessy authored Apr 4, 2019
2 parents 5f0a48d + e2bc7d6 commit 13259a0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/use/vscode.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,12 @@ A notification will appear asking you to sign in using your web browser. Clickin

> **Linux users:** You may be prompted to enter a user code if you are using an older version of Live Share (v0.3.295 or below). Update to the latest version of the extension or click the "Having trouble?" link after sign in to see the code. See [below for details](#sign-in-using-a-user-code).
#

> **Advanced tip:** The `liveshare.account` and `liveshare.accountProvider` settings enable you to select which account should be used for automatic sign-in in case you have cached credentials for multiple accounts available.
> For example, imagine you work on 2 projects with which you want to sign in with different identities. In your VSCode workspace settings, you could set the `liveshare.account` setting to different email addresses in each project directory to ensure they each automatically sign-in with the correct account. The `liveshare.accountProvider` setting could be set to either `"microsoft"` or `"github"` in case you use the same email address with multiple providers.
If Visual Studio Code is not picking up your sign in after you complete the sign-in process in the browser, see [sign in using a user code](#sign-in-using-a-user-code). Otherwise, check out [troubleshooting](../troubleshooting.md#sign-in) for more tips.

### Sign in using a user code
Expand Down

0 comments on commit 13259a0

Please sign in to comment.