How to hide grey dots on scrollbar

2019-07-04 05:48发布

In Visual Studio 2015/2017, how can we hide the Vertical Scrollbar's grey dots as shown below?

enter image description here

2条回答
放荡不羁爱自由
2楼-- · 2019-07-04 06:40

If you're trying to hide the gray dots caused by "Suggestions" (as opposed to bookmarks) then this is the specific setting for that.

Tools --> Options --> Environment --> Fonts and Colors

Select Suggestion ellipses (...) and set the Item foreground to Automatic

enter image description here

Note that this will cause the suggestion ellipses (3 little dots under timer1 in the image below) in your code to also be invisible.

enter image description here

查看更多
贪生不怕死
3楼-- · 2019-07-04 06:43

In the Visual Studio menu, open up:

Tools > Options > Environment > Fonts and Colors

You should see a dialog like this: enter image description here

In the list, there are several settings that control the enhanced scrollbar, here are some you can play with. If you set them to Automatic then they should be invisible:

  • Bookmark (Scroll Bar)
  • Breakpoint (Scroll Bar)
  • Difference scrollbar color
  • Find Match Highlight
查看更多
登录 后发表回答