Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Gaweringo opened this issue Aug 23, 2021 · 0 comments
Open

Comments

@Gaweringo
Copy link

Gaweringo commented Aug 23, 2021

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.

@Gaweringo Gaweringo changed the title Profile deletion and cloning throws an error, when aborted with "ESC" Profile deletion and cloning throws an error, when aborted with <kbd>ESC</kbd> Aug 23, 2021
@Gaweringo Gaweringo changed the title Profile deletion and cloning throws an error, when aborted with <kbd>ESC</kbd> Profile deletion and cloning throws an error, when aborted with "ESC" Aug 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant