File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -41,6 +41,19 @@ export async function initAzureWorkspaces(context: vscode.ExtensionContext) {
41
41
// Add any previously saved workspaces
42
42
const savedWorkspaces = await context . secrets . get ( workspacesSecret ) ;
43
43
if ( savedWorkspaces ) {
44
+ if ( context . globalState . get < boolean > ( "showAzureCreditsWarning" , true ) ) {
45
+ // Temporary reminder message that Azure Quantum Credits will be deprecated.
46
+ const choice = vscode . window . showInformationMessage (
47
+ `Azure Quantum Credits will no longer be available after June 1st, 2025.` ,
48
+ `Don't show again` ,
49
+ ) ;
50
+ choice . then ( ( c ) => {
51
+ if ( c === `Don't show again` ) {
52
+ context . globalState . update ( "showAzureCreditsWarning" , false ) ;
53
+ }
54
+ } ) ;
55
+ }
56
+
44
57
log . debug ( "Loading workspaces: " , savedWorkspaces ) ;
45
58
const workspaces : WorkspaceConnection [ ] = JSON . parse ( savedWorkspaces ) ;
46
59
for ( const workspace of workspaces ) {
You can’t perform that action at this time.
0 commit comments