Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions vscode/src/azure/commands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,19 @@ export async function initAzureWorkspaces(context: vscode.ExtensionContext) {
// Add any previously saved workspaces
const savedWorkspaces = await context.secrets.get(workspacesSecret);
if (savedWorkspaces) {
if (context.globalState.get<boolean>("showAzureCreditsWarning", true)) {
// Temporary reminder message that Azure Quantum Credits will be deprecated.
const choice = vscode.window.showInformationMessage(
`Azure Quantum Credits will no longer be available after June 1st, 2025.`,
`Don't show again`,
);
choice.then((c) => {
if (c === `Don't show again`) {
context.globalState.update("showAzureCreditsWarning", false);
}
});
}

log.debug("Loading workspaces: ", savedWorkspaces);
const workspaces: WorkspaceConnection[] = JSON.parse(savedWorkspaces);
for (const workspace of workspaces) {
Expand Down
Loading