What are the little coloured bits on my vertical s

2019-01-24 00:01发布

I have only recently paid any attention to the appearance of little green and blue rectangles on my vertical scroll bar in code editing windows in VS2010. Can anyone tell me what these are?

I'm running with the Productivity Power Tools extension and ReSharper 6.

3条回答
看我几分像从前
2楼-- · 2019-01-24 00:36

From the productivity power tools extension page:

Enhanced Scrollbar
We’ve been looking into ways that we can improve the experience of navigating through code files. Our solution is the source map which has three modes that will allow you to more easily see the interesting artifacts in your files (edits, breakpoints, bookmarks, errors, warnings etc) and make it easy for you to navigate between them. The default mode is the “scroll bar only mode” which overlays icons onto the standard scrollbar to allow for viewing of these artifacts. In the source map mode, we’ve replaced the default scroll bar allow you to click on any item on the scrollbar to navigate directly to it. This source map mode also provides a preview of the part of the document as you hover. Finally, we have the detailed source map mode, which allows you to get a zoom out view of your entire file. You can switch between any of these modes by right-clicking on the scroll bar or going to Tools Options>Productivity Power Tools>Source Map where we have a host of other options that you can configure.

查看更多
三岁会撩人
3楼-- · 2019-01-24 00:37

For what it is worth if you hover on the word with a spelling error a box will appear below. You then mouse over the box and a drop arrow will appear from there you can select the correct spelling or add a word to the dictionary.

查看更多
够拽才男人
4楼-- · 2019-01-24 00:41

I have not found a color legend for the bits, but here is what we have found so far;
Light Blue = Bookmarks
Blue = Error / Warning
Orange = Find Results
Red = Breakpoint
Light Purple = Other instances of the selected variable
Dark Blue = Current cursor location
Yellow = Not saved changes
Green = Saved Changes
Dark Green = Spelling error (in comment or string literal)

查看更多
登录 后发表回答