I've been trying to figure out how to configure both the "liveshare.account" & "liveshare.accountProvider" settings. The best I could come up with was that they're expected to be type: string (from the Extensions package.json file...). I would rather have sent a PR than Feedback, but that's the best I could do. Could you offer any clarification on those two settings?
⚠Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
I think these settings are probably deprecated.
@jasongin to provide more information.
They are not deprecated, but they are rarely needed. They 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. 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.
Most helpful comment
They are not deprecated, but they are rarely needed. They 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. 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.