microsoft / vscode-azurevirtualmachines

Azure Virtual Machines extension for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=ms-azuretools.vscode-azurevirtualmachines
MIT License
32 stars 20 forks source link

[Suggestion] It would be better to change the resources to resource(s) in the error notification after failing to delete a VM #397

Open v-xinda opened 1 year ago

v-xinda commented 1 year ago

OS: Win 10 Build Version: 20230810.1

Repro Steps:

  1. Right click a VM -> Click "Delete..." -> Check one resource except "virtual machine" resource.
  2. Check the error notification.

Actual: The error notification is "Failed to delete the following resources: 'anicole-suse-nsg'." image

Suggestion: It would be better to change the resources to resource(s) in the error notification.

More Info: This issue also reproduces for the error message in the Output window and Activity Log window. image