Grey dot on scrollbar

2019-06-15 07:32发布

问题:

What is the grey dot on scrollbar in Visual Studio 2017?

回答1:

Code Suggestions

A scenario I ran into was forgetting to capitalize my method.

Another suggestion I saw was a recommendation for improving how I initialized a collection.

When I select the line with the grey mark I can then try quick actions to view suggestions.



回答2:

In Visual Studio 2017, it corresponds with Error List - Messages. Usually it is a Naming rule violation:(definition), but, it could be any Message. Error List Window



回答3:

Bookmarks.

One of several markers that you can enable, on mass, on the scrollbar under Tools | Options | Text Editor | {Language} | Scroll Bars | Show annotations over vertical scroll bar.

(Extensions can further extend this, eg. Productivity Power Tool's Match Margin adds indicators for search.)

VS 2015 docs for this are easily found.