Welcome to MSDN Blogs Sign in | Join | Help

Sara Ford's Weblog

My adventures embracing open source on CodePlex and at Microsoft

News

    • Did you know... All author proceeds go directly to sending Hurricane Katrina survivors to college.

      Microsoft Visual Studio Tips book

      Recent Entries

Did you know... How to set a bookmark and navigate among them - #054

Bookmarks markers in editor

Press Ctrl+K, Ctrl+K to toggle a bookmark.   This command is bound to Edit.ToggleBookmark, if your keybindings are different.

Press Ctrl+K, Ctrl+N (Edit.NextBookmark) to navigate to the next bookmark.

Press Ctrl+K, Ctrl+P (Edit.PreviousBookmark) to navigate to the previous bookmark.

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

All of these commands can be found at Edit - Bookmarks

Bookmark Commands on Edit menu

And also found on the Text Editor Toolbar.  Note that on the Text Editor Toolbar, as mouse-over below, the Previous Bookmark in Document and Next Bookmark in Document don't have keyboard shortcuts bound to them, but they are listed on the text editor toolbar.

Bookmark commands on Text Editor toolbox

Technorati tags: ,
Posted: Thursday, October 04, 2007 3:00 AM by saraford

Comments

Jason Haley said:

# October 4, 2007 9:53 AM

Jason Haley said:

# October 4, 2007 9:56 AM

J.D. said:

In Visual SlickEdit, I can set a bookmark and give it a number, then quickly return to that specific bookmark by referencing the number. Is there anything similar in Visual Studio?

# October 4, 2007 3:03 PM

Todd K said:

Hi Sara,

Diggin' the tips!  Many thanks!

I'm a fan of bookmarks, but I've found that many times the "scope" of them seems off.  If I K-N to try to get to the next one in the the current document, it will cycle to bookmarks in other documents in the solution instead of going to the one 100 lines down in the same doc.

Any way to change that behavior so it looks in the current doc first?

Thanks!

# October 4, 2007 11:56 PM

tony brown said:

I'm with Todd. The current algorithm stinks. I always want the bookmarks in the current file first. It's beyond obvious to me.

# October 19, 2007 6:44 AM

Секреты Visual Studio said:

Нажмите Ctrl+K, Ctrl+K для установки закладки. Эта команда закреплена за Edit.ToggleBookmark, если вы

# November 6, 2008 2:44 AM
New Comments to this post are disabled
Page view tracker