xcdemon05
xcdemon05

Reputation: 1432

What are these icons next to the line numbers in Visual Studio?

In some of my C++ files in Visual Studio 2010, there are these strange icons next to the line numbers. I cannot click on them, right click on them, or interact with them in any way. The only thing I can do is move / delete lines of code and these icons follow the line they are on / get deleted when the line is deleted.

I have looked everywhere but have found nothing. Can someone tell me what these are?

pic

Upvotes: 4

Views: 2055

Answers (1)

Guffa
Guffa

Reputation: 700422

Those are bookmarks.

You can remove a bookmark using the menu option Edit -> Bookmarks -> Toggle bookmark or pressing Ctrl+K twice.

You can use Edit -> Bookmarks -> Clear bookmarks or press Ctrl+K, Ctrl+L to remove all bookmarks in the file.

The purpose of the bookmarks is that you can quickly jump between them.

Upvotes: 7

Related Questions