Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

like image 489
xcdemon05 Avatar asked Sep 18 '25 01:09

xcdemon05


1 Answers

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.

like image 196
Guffa Avatar answered Sep 20 '25 21:09

Guffa