Skip to content

Tip 1.29: How to change a bookmark color

July 29, 2012

“Visual Studio Tips, 251 ways to improve your Productivity in Visual Studio“, courtesy of ‘Sara Ford’

Sara Ford’s Blog

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! =)

Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: