From 1c3d3283bf8b16adc3339008a9e269f24ae978a9 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 21 Nov 2025 18:01:52 +0000 Subject: [PATCH 1/2] Initial plan From 962c7624600e95c7cf645617dff3359a620d6106 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 21 Nov 2025 18:05:57 +0000 Subject: [PATCH 2/2] Add warning message for empty connection selection in removeConnection Co-authored-by: tnaum-ms <171359267+tnaum-ms@users.noreply.github.com> --- l10n/bundle.l10n.json | 1 + src/commands/removeConnection/removeConnection.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/l10n/bundle.l10n.json b/l10n/bundle.l10n.json index ee8daa6ca..5bf4af0f6 100644 --- a/l10n/bundle.l10n.json +++ b/l10n/bundle.l10n.json @@ -514,6 +514,7 @@ "No Azure VMs found with tag \"{tagName}\" in subscription \"{subscriptionName}\".": "No Azure VMs found with tag \"{tagName}\" in subscription \"{subscriptionName}\".", "No collection selected.": "No collection selected.", "No commands found in this document.": "No commands found in this document.", + "No connections selected to remove.": "No connections selected to remove.", "No Connectivity": "No Connectivity", "No credentials found for id {credentialId}": "No credentials found for id {credentialId}", "No credentials found for the selected cluster.": "No credentials found for the selected cluster.", diff --git a/src/commands/removeConnection/removeConnection.ts b/src/commands/removeConnection/removeConnection.ts index 1b486ca4d..022cadf29 100644 --- a/src/commands/removeConnection/removeConnection.ts +++ b/src/commands/removeConnection/removeConnection.ts @@ -28,6 +28,7 @@ export async function removeConnection( } if (connectionsToDelete.length === 0) { + ext.outputChannel.warn(l10n.t('No connections selected to remove.')); return; }