alefragnani / vscode-bookmarks

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

[BUG] - Repeated gutter icon on line wrap #552

Closed memeplex closed 1 year ago

memeplex commented 2 years ago

This doesn't seem to be intended, at least I can't see the point of having that many bookmark icons in the gutter.

Environment/version

Steps to reproduce

  1. Toggle line wrap on
  2. Write a long line that wraps around
  3. Bookmark it
image
alefragnani commented 2 years ago

Hi @memeplex ,

It's not intended, for sure, but it is how VS Code handles the drawing of icons in the gutter, when long lines wraps.

It was always this way, and I already saw a few extensions featuring the same behavior, so I never really bothered to find a solution/workaround, as I only see (myself) while editing markdown files, which I don't use Bookmarks that much.

Anyway, I decided to take a look at their sample and noticed it didn't happened at first (weird ah)? But I could reproduce the exact same issue with a single line of code, in fact, a setting, and I'll open an issue in VS Code repo, looking for their solution/understanding to this behavior.

Thanks for reporting.

alefragnani commented 2 years ago

https://github.com/microsoft/vscode/issues/158837

memeplex commented 2 years ago

Cool, thanks!

memeplex commented 1 year ago

Thanks!