Welcome to MSDN Blogs Sign in | Join | Help

Jeff Abraham's WebLog

Pseudo-random posts on Visual Studio, with occasional flashbacks to device development.
Is there a way to change VS 2005 bookmark navigation to restrict it to the current document?

This came up on one of the internal mailing lists.

Is there a way to restrict Ctrl+K, Ctrl+P (Previous bookmakr) and Ctrl+K, Ctrl+N (Next bookmark) to the current file in VS2005?

Dave Bartolomeo came up with this answer:

In the keyboard settings under Tools|Options, bind Ctrl+K, Ctrl+P to Edit.PreviousBookmarkInDocument, and Ctrl+K, Ctrl+N to Edit.NextBookmarkInDocument, instead of the defaults of Edit.PreviousBookmark and Edit.NextBookmark.

I'm really just archiving this knowledge here, so that I can find it when I delete that email.

Posted: Monday, October 16, 2006 1:46 PM by JeffAbraham

Comments

william said:

cool, very very useful.

# November 17, 2006 1:53 AM
New Comments to this post are disabled
Page view tracker