zed icon indicating copy to clipboard operation
zed copied to clipboard

scrollbar diagnostics not working properly

Open sourabhrathourr opened this issue 1 year ago • 1 comments
trafficstars

Check for existing issues

  • [X] Completed

Describe the bug / provide steps to reproduce it

The scrollbar diagnostics are not accurate even if I change a single line, a yellow colour distracting thing appears on the whole scrollbar which is very annoying while coding.

Environment

Zed: v0.119.19 (Zed) OS: macOS 14.2.1 Memory: 8 GiB Architecture: aarch64

If applicable, add mockups / screenshots to help explain present your vision of the feature

image

If applicable, attach your ~/Library/Logs/Zed/Zed.log file to this issue.

If you only need the most recent lines, you can run the zed: open log command palette action to see the last 1000.

No response

sourabhrathourr avatar Jan 26 '24 23:01 sourabhrathourr

Hey @sourabhrathour45, these are not diagnostics in the scrollbar, these are git markers - they coincide with what you see in the gutter on the left side of the editor. In the future, i think we will have error diagnostics in the scrollbar as well. If you wish to turn off the git markers, you can configure Zed with:

"git_diff": false

If I'm misunderstanding this issue, let me know!

JosephTLyons avatar Jan 29 '24 22:01 JosephTLyons

Hey @JosephTLyons, no actually i have hidden the git gutter in the left side of the editor by "git-gutter": "hide" , what i'm facing is these inconsistent yellow markers on the scrollbar of the editor, even if i make a single line change after cloning a project, the whole scrollbar turns yellow.

Here's one example of the same - I have disabled the git gutter on the left side of the editor, thus it's not visible, but the the scrollbar is all flashy that's quite distracting to eyes. I also tried "git-diff": false but it didn't worked.

image

sourabhrathourr avatar Jan 31 '24 00:01 sourabhrathourr