Did you know... How to change a bookmark color? - #030
I call out the bookmark color, since it appears at the top of the Fonts and Colors Display Items list. But, this tip applies to all items that appear in the indicator margin, like current statement, breakpoints, etc, but let’s focus on bookmarks for this tip…
This picture shows a bookmark icon/glyph in the indicator margin.
So, let’s go change the color to red! Go to Tools – Options – Environment – Fonts and Colors. Under Display Items, select Bookmark. Now change the background color to something, like red. You’ll notice that nothing changes in the editor.
In order to have a different bookmark color, you need to remove the indicator margin. Go to Tools – Options – Text Editor – General and uncheck Indicator Margin. Now you’ll see the following:
The indicator margin just shows icons (or glyphs to be more accurate) which are not customizable, so this is why you’re only able to change the foreground color and why you may not see the change. I guess a better title for this tip is "why didn’t the bookmark color change?" I hope this helps clarifies any confusion.
Technorati tags: VS2005Tip, VS2008Tip
Comments
Anonymous
September 05, 2007
Hi Sara, How are you getting the whitespace markers to show up? I've been looking for the setting for this in VS2008 with no luck.Anonymous
September 06, 2007
Yeah, it is a little hidden unfortunately. Go to Edit menu, then under advanced, click on View White Space. Here's the corresponding tip http://blogs.msdn.com/saraford/archive/2007/07/30/did-you-know-how-to-view-visible-white-space.aspxAnonymous
July 13, 2008
ここでは、[フォントおよび色] の [表示項目] の一覧の最初にある、ブックマークの色を変更する方法について取り上げます。このヒントは、現在のステートメントやブレークポイントなど、インジケータ マージンに表示されるすべての項目に当てはまりますが、ここではブックマークを例に説明します。Anonymous
August 31, 2008
Я озаглавила этот совет "Цвет фона закладок" лишь, поскольку они находятся на самом верху спискаAnonymous
December 04, 2008
本篇包括tip21-tip30http://www.watch-life.net/visual-studio/visual-studio-2008-tip-day-3.html#021、调整字符、...Anonymous
December 07, 2008
本篇包括tip21-tip30 http://www.watch-life.net/visual-studio/visual-studio-2008-tip-day-3.html #021、调整...