Tip 1.29: How to change a bookmark color
“Visual Studio Tips, 251 ways to improve your Productivity in Visual Studio“, courtesy of ‘Sara Ford’
She calls 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, and so on. But let’s focus on bookmarks for this tip.
This picture shows a bookmark icon/glyph in the indicator margin:
So let’s 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 else, like red. You’ll notice that nothing changes in the editor.
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 bookmark appear in red.
The indicator margin just shows icons (or glyphs, to be more accurate), which are not customizable. This is why you’re only able to change the foreground color and why you may not see the change. She guesses a better title for this tip is “Why didn’t the bookmark color change?” She hopes this helps clarify any confusion.
Happy Programming! =)