Skip to content

Bookmarks

August 22, 2009

Bookmarks are a way for you to mark various locations in your files. When Sara first started testing bookmarks, She wasn’t sure what the difference was between comments in the Task List and bookmarks. Task List comments and other tokens are found in the file, meaning that these have the potential of getting checked into your source code repository and being visible to everyone. On the other hand, bookmarks are for your eyes only. They are stored outside the file in the Bookmarks window.

Managing Bookmarks

These next tips walk you through creating and using bookmarks.

Tip 2.27: How to set bookmarks and navigate among them

Press Ctrl+K, Ctrl+K to toggle a bookmark. The command is Edit.ToggleBookmark.

Press Ctrl+K, Ctrl+N to navigate to the next bookmark. The command is Edit.NextBookmark.

Press Ctrl+K, Ctrl+P to navigate to the previous bookmark. The command is Edit. PreviousBookmark.

You can also quickly get rid of all your bookmarks by pressing Ctrl+K, Ctrl+L. The command is Edit.ClearBookmarks.

All of these commands can be found under the Edit–Bookmarks menu and on the Text Editor toolbar. Note that on the Text Editor toolbar, the Previous Bookmark In Document and Next Bookmark In Document items don’t have keyboard shortcuts bound to them, but they are listed on the Text Editor toolbar.

“Visual Studio Tips, 251 ways to improve your Productivity in Visual Studio” courtesy of “Sara Ford”

Sara Ford’s Weblog

Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: