alefragnani / vscode-bookmarks

Bookmarks Extension for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=alefragnani.Bookmarks
GNU General Public License v3.0
1.7k stars 163 forks source link

[FEATURE] - Double tap or confirmation for deleting bookmark from side bar #483

Open bijink opened 2 years ago

bijink commented 2 years ago

Please add an update to make a confirmation when deleting the bookmark from the vscode sidebar. Or the better way I suggest is to make the delete btn as a double-clicking button for deleting bookmark.

There is a chance of accidental clicking when selecting bookmarks from the sidebar. Single clicking will cause to loss bookmarks when delete btn clicked accidentally.

alefragnani commented 2 years ago

Hi @bijink ,

VS Code doesn’t support double tap for clicking icons/items in the Side Bar, so this won’t be supported.

But, a confirmation message could be added for both Delete and Clear buttons, probably via a new setting.

Hope this helps

bijink commented 2 years ago

A confirmation message is also nice to overcome this situation. But showing the confirmation message at each time will irritate users so much.

New suggestion :- What about adding a new 'menu btn' (or a 'more btn'), and including the 'edit label' and 'delete' buttons inside the menu button as a dropdown.

alefragnani commented 2 years ago

No dropdown. The idea of that inline commands is to have quick access to them. If I add a dropdown, the quick portion is missing, and an additional click would irritate users as well (at least I will 😆 )

BTW, there is already a Context Menu on each bookmark/file, so adding a dropdown would simply duplicate things.

So, a setting to confirmation message OR display inline commands.

bijink commented 2 years ago

Thanks for your response.

Expecting setting to confirmation message in future updates.