cyberbiont / vscode-profiles

vscode plugin to easily manage multiple extensions / settings configurations
ISC License
26 stars 2 forks source link

Profile deletion and cloning throws an error, when aborted with "ESC" #6

Open Gaweringo opened 3 years ago

Gaweringo commented 3 years ago

When using vscode-profiles.delete but exiting with ESC and not choosing a profile to delete this error is thrown:

Command 'Profiles: Delete' resulted in an error (Running the contributed command: 'vscode-profiles.delete' failed.)

Image of the error:

The error

Steps to reproduce (For Profile deletion)

  1. Open the command palette with F1 or Ctrl + Shift + P
  2. Write prodelete and select Profiles: Delete with Enter 2.1. A input box appears with the available profiles below
  3. Press ESC

Gif

CocjzO3Qqv

Related

When hitting ESC on Profiles: clone and Profiles: rename a similar error is thrown.

Excpected

A small Error Notification like the Profiles: create command displays would be expected. Error notification shown when aborting Profiles: rename

Or maybe even no Error should be shown (like most extensions and default commands do it) as it's not a mistake but just an abort function.