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

Not working properly - no bookmark icon, no bookmarks sidebar #450

Closed stellarwebworks closed 2 years ago

stellarwebworks commented 3 years ago

Discussed in https://github.com/alefragnani/vscode-bookmarks/discussions/449

Originally posted by **stellarwebworks** July 8, 2021 I installed the bookmarks plugin (version 13.1.0) in latest version of Visual Studio Code (1.57.1) but it does not seem to be working properly. When I bookmark a line I expect to see a bookmark icon in the gutter but there is none. Also there is no sidebar as shown in the instructions. It does work partially in that the bookmarks seem to be created and I can see a little blue mark in the scrollbar which I can click on and it takes me to the line that I bookmarked. I tried uninstalling, restarting VS Code and reinstalling but did not help. Please advise.
stellarwebworks commented 3 years ago

actually just realised that the bookmarks sidebar is there but there is no icon so I didn't see it. This is what it looks like in my view: image

stellarwebworks commented 3 years ago

Any fixes or suggestions for this issue? Btw. I've checked if it is related to theme but same issue no matter which colour theme I select.

fade2gray commented 3 years ago

Have you looked at issue #397 ?

stellarwebworks commented 3 years ago

I looked at it now but I don't think it's related to my issue. In my case the problem is that the icons are not showing (bookmark icon in gutter and icon on bookmarks tab in sidebar. I've tried uninstall and reinstall the plugin to no avail.

stellarwebworks commented 3 years ago

I found a workaround for the missing bookmark icon in gutter. In the extension settings there is a setting for Gutter Icon Path, so I downloaded a bookmark icon and inserted the path to it and that works. The icon on bookmarks tab is still missing but that's not as big an issue once I know the tab is there.

alefragnani commented 3 years ago

Hi @stellarwebworks ,

I have seen the missing Side Bar icon a few times, and up until now, it has always been caused by some issue in the installation process (which is managed by VSCode). It happened not only on this extension, but from other developers too. BTW, I guess two releases ago this was happening a lot for extension developers, while debugging the extensions.

To fix this installation issue, you must reinstall the extension. But you must do a full reinstall, which means:

Please, try these steps to see if it fixes the missing resources.

Hope this helps

stellarwebworks commented 3 years ago

Hi Alessandro, I tried that, following the steps exactly but it did not bring in the icons. I thought the settings would be reset on the reinstall but there weren't - the Gutter Icon Path was still set with the alternative bookmark icon that I had added. But in any case, by virtue of that particular setting, it is perfectly usable for me as it is. Only thing missing is the tab icon, and now that I know where the tab is located, it is no big deal. Thanks for your help and for the plugin! Aidan

schittli commented 3 years ago

Hello @stellarwebworks

v13.1.0: I have the same issue as described here, but it's only a VSCode gutter redraw issue:

  1. I set the Bookmark on line 10, but afterwards, the icon is not displayed: image
  2. I change to another opened file in VS Code
  3. I change back to the 1st file and the Bookmark appears: image

⚠️ Adding a new Bookmark does not immediately display the icon in the gutter but removing the Bookmark immediately removes the bookmark icon (the 'remove bookmark icon and refresh gutter function' perfectly works)

Thanks a lot for your great support! kind regards, Thomas

alefragnani commented 2 years ago

Hi @stellarwebworks ,

Are you still facing this issue? It’s been a while and not only Bookmarks but also VS Code released new versions, so I was wondering if you still have issues with the Side bar icon.

@schittli , I guess your issue is different, because the icon appears after a while. Probably related to #328 or #397. If not, please open a new issue with as much detail as possible.

Thank you

stellarwebworks commented 2 years ago

Hi @alefragnani, I just updated to latest version and yes the issue is still there in that there is no icon for the bookmarks in side bar. But it's not actually causing any problem for me since I already know where to click to get to the bookmarks.

alefragnani commented 2 years ago

Really weird. I'll keep trying.

Thank you

deangibson89 commented 2 years ago

Same problem, the bookmark icon isn't displaying in the side bar. Doesn't seem like it's just the icon that's missing, there is no clickable area that opens the sidebar. I've tried everything to no avail. Such a pity, this was hands down one of my most useful plugins I used.

alefragnani commented 2 years ago

No success reproducing this error. For me, both Stable and Insiders are working just fine, up until now.

@deangibson89 , up until now, all reports say that the icon is missing but the area is clickable, so your is a bit different. Try using the Bookmarks: Focus on Explorer View. It should make VS Code focus on Bookmarks view/panel, no matter where it is located. Maybe it is not where it should be.

alefragnani commented 2 years ago

I'm closing this issue because no new comments has been added since my last question. Feel free to reopen/comment if the error still occurs.

Thanks for your understanding

mmcgee-aya commented 1 year ago

This is a still a problem for me at this point!!

RodionovGV commented 8 months ago

I faced this problem too and found that bookmarks are available in the secondary sidebar (Ctrl+Alt+B).

danigiorgio commented 2 months ago

This worked for me on Mac to show separate icon for Bookmarks in the sidebar

Run the command "Reset View Locations" via Command Palette (Command + Shift + P)