Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the black flag icon in gutter of VS2013

Visual studios 2013 is showing a black flag looking icon in the left gutter of my code. It doesn't seem to have any meaning and there is nothing particularly special about that line of code. The code works fine, I just want to know why this icon is displayed and what it means.

like image 554
NerdyFool Avatar asked Nov 24 '14 23:11

NerdyFool


3 Answers

It could be a bookmark. See main Visual Studio menu Edit - Bookmarks.

like image 195
Sergey Vlasov Avatar answered Dec 07 '22 21:12

Sergey Vlasov


It may be bookmark or it may be the line at which searched text is found. In this screenshot, the black mark at line 55 shows the line in which search text is found(when we search using Ctrl+Shift+F keys) and one at line 58 is bookmark.

Bookmark can be removed by holding holding Ctrl and pressing K twice. There is also option to remove it in VS menu, same icon as on the line.

Bookmarks are put on the code where we want to navigate more frequently. There is icon in VS menu shown with the arrow and bookmark icon to move forward and backward.

enter image description here

like image 32
Imad Avatar answered Dec 07 '22 21:12

Imad


If you are using dark theme this is a white flag. Ctrl+K, Ctrl+K removes the flag.

like image 44
Adrian Harrison Avatar answered Dec 07 '22 21:12

Adrian Harrison