alefragnani / vscode-bookmarks

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

[BUG] - Bookmark context menu in gutter is incorrect when removing bookmark from side bar #639

Closed jakeparis closed 10 months ago

jakeparis commented 10 months ago

When you have a bookmark, you can right-click the icon in the gutter, and the context menu says "remove bookmark". If you remove the bookmark from there, the context menu in that location reverts to "add bookmark". However, if you delete the bookmark by clicking the "x" in the sidebar next to the bookmark, the gutter icon disappears, but the right-click menu does not revert to "add bookmark". Instead it continues to say "remove bookmark"

Environment/version

Steps to reproduce

  1. Create a bookmark
  2. Use the "x" button in the side bar to delete the bookmark
  3. right click that same line in the gutter
  4. Instead of "add bookmark", the "remove bookmark" menu still shows

2023-08-16_12-34-35 (1)

alefragnani commented 10 months ago

Hi @jakeparis ,

This has already been reported in #627, and should be available in the next update later this week.

Hope this helps