Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Strange Arrow in Visual Studio Gutter Window

What does the following arrow icon mean in the Visual Studio 2012 gutter window? I've never seen it before.

This particular line of code has nothing special about it, nor do I recall doing anything to this line that would cause an arrow to appear. It's definately attached to this line of code. Moving the line of code down causes the arrow to follow.

I have no add-ons installed in Visual Studio.

Arrow in gutter window

like image 903
George Johnston Avatar asked Feb 27 '13 19:02

George Johnston


People also ask

How do I UN flag a thread in Visual Studio Code?

To unflag a thread, hover over the thread marker in the source code and select the red flag icon to clear it, or right-click the thread marker and select Unflag. In the Threads window, flagged threads have red flag icons next to them, while unflagged threads, if shown, have empty icons.

How do I add a watch to a variable in Visual Studio?

Find the variable in the Locals window ( Debug > Windows > Locals ), right-click the variable, and select Make Object ID. You should see a $ plus a number in the Locals window. This variable is the object ID. Right-click the object ID variable and choose Add Watch.

How do I see thread markers in Visual Studio Code?

Examine thread markers. In the source code, locate the Console.WriteLine(); line. Right-click in the Threads window, and select Show Threads in Source from the menu. The gutter next to the source code line now displays a thread marker icon .

How do I debug a line in Visual Studio Code?

Set a breakpoint on the Console.WriteLine (); line by clicking in the left gutter, or selecting the line and pressing F9. The breakpoint appears as a red circle in the left gutter next to the code line. Select Debug > Start Debugging, or press F5. The app starts in debug mode, and pauses at the breakpoint.


1 Answers

It marks a Task List shortcut. You add them with Edit > Bookmarks > Add Task List Shortcut, [Ctrl+E,T] keystroke. That adds an entry to the task list, use View > Task List to display it. Select "Shortcuts" in the combobox. You'll see a list of all the shortcuts you added. Double-click an entry to jump to the line.

Remove it again with Edit > Bookmarks > Remove Task List Shortcut, [Ctrl+E,T] again.


NOTE: In visual studio 2015 and above, its [Ctrl+K,Ctrl+H]

like image 166
Hans Passant Avatar answered Sep 20 '22 22:09

Hans Passant