Open garyking opened 12 months ago
Hi @garyking ,
What do you have currently open? A folder, a workspace (multi-root folder) or just random files (no folder)?
Also, how many bookmarks appears if you use the Bookmarks: List
command? Maybe the previous session had bookmarks, but when you reopened, they weren't found. There are two reasons why a bookmark could be not found:
In this case, the List
command (and the Treeview) would ignore those bookmarks. Could you try cleaning the bookmarks using the Bookmarks: Clear from All Files
command, to see if the badge resets?
Hope this helps
Bookmarks: List
command says "No Bookmarks found."Bookmarks: Clear from all files
works. So I'll just use that in the future, thanks. Although I wouldn't want to use this command if I have several bookmarks in a workspace, and don't want my real bookmarks to be cleared.I could reproduce this behavior with the "A smaller file (less lines) and the bookmark is located after its end" scenario. The missing file scenario, on the other hand, presented a small difference (visually speaking).
I'll reopen the issue, in order to take a closer look and fix it. The number in the badge should reflect the number of valid bookmarks.
Thanks for reporting
I had this issue when I closed a file with bookmarks. It had 3 bookmarks and the notification said 3 as expected, when I closed the file it still said 3 but opening the bookmarks sidepanel just said "No bookmarks".
me ,too i just open theca case.
I would appreciate it if you could fix this bug, which is not displaying the label, as soon as possible.
I have identified the timing of the occurrence. For scripts connected directly to the server via SSH, the labeling feature is not functioning correctly.
For others, it is working as expected.
When I updated to the latest revision, the bug had been resolved. thanks
I'm experiencing the same issue with Bookmarks v13.4.2 (on Fedora Linux, codium version 1.87.2), after that a file with a bookmark on it has been renamed by a git commit.
The bookmarks list was empty, while the badge was still "1".
The command Bookmarks: Clear from All Files
resolved the problem, but I may expected the extension to automatically detect the inconsistency.
(anyway, thanks for this very useful extension!)
@zapateo this may be caused by a recent VS Code regression that I have just submitted a PR to fix:
Environment/version
Steps to reproduce
Per my screenshot below, the badge says there are two bookmarks, but there are really none. In another one of my projects, the badge says 1 but there's no bookmarks. If I add a bookmark, then the badge increases from 2 to 3, and the bookmark appears fine in the sidebar. But again, the count is 2 higher than it should be.