Using Visual Studio’s Task List Shortcuts in helping to navigate your C# code
Posted: (EET/GMT+2)
Did you know that Visual Studio contains a nice little navigational aid for your code files? The feature is called Task List Shortcuts, and the feature allows you to set bookmark-like markings into your code files and/or locations within them. Then, you can see a list of all the Task List Shortcuts in your solution, and jump into any desired location with a simple double-click.
To use the feature, go to the code editor, place the caret (the blinking vertical bar) onto a line of interest, and then go to the Edit menu, and under Bookmarks, select "Add Task List Shortcut". This will place a small, rectangle-shaped icon into the left margin of the code editor, the same spot where breakpoints would be shown.
Then, you can see all your shortcuts in the Task List window, but be sure to select the "Shortcuts" view from the dropdown menu first. And t quickly navigate to the shortcut's location, double-click any of the entries.
I believe Task List Shortcuts work best when you need to quickly navigate between several different code files and/or locations within them.