You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Prompt for restart when the marketplace auth provider changes
The provider is selected once at startup, so changing
extensions.gallery.authProvider mid-session had no effect and gave no
indication that it had not been applied. The sibling serviceUrl setting
already prompts; this reuses that listener and dialog rather than
rebuilding the provider live.
Each setting keeps its own message: serviceUrl still reports a different
Marketplace, and the auth change reports a configuration change.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 4e27c63d-f29e-4ee0-a324-8adb523f5155
this.requestRestart(localize('extensionGalleryManifestService.accountChange',"{0} is now configured to a different Marketplace. Please restart to apply the changes.",this.productService.nameLong));
this.requestRestart(localize('extensionGalleryManifestService.configurationChange',"The Extensions Marketplace configuration has changed. Please restart to apply the changes."));
115
117
}
116
-
this.requestRestart();
117
118
}));
118
119
}
119
120
@@ -184,9 +185,9 @@ export class WorkbenchExtensionGalleryManifestService extends ExtensionGalleryMa
message: localize('extensionGalleryManifestService.accountChange',"{0} is now configured to a different Marketplace. Please restart to apply the changes.",this.productService.nameLong),
190
+
message,
190
191
primaryButton: localize({key: 'restart',comment: ['&& denotes a mnemonic']},"&&Restart")
Copy file name to clipboardExpand all lines: src/vs/workbench/services/extensionManagement/test/electron-browser/extensionGalleryManifestService.test.ts
0 commit comments