Navigating Bookmarks

Tips Search

Navigating Bookmarks

  • Comments 6

Keyboard:  CTRL + K, CTRL + N (next bookmark); CTRL + K, CTRL + P (previous bookmark); CTRL + SHIFT + K, CTRL + SHIFT + N (next bookmark in folder); CTRL + SHIFT + K, CTRL + SHIFT + P (previous bookmark in folder);
Menu:  Edit -> Bookmarks -> [Previous, Next] Bookmark [In Folder, Document]
Command:  Edit.[Previous, Next] Bookmark [In Folder, Document]
Versions:  2008,2010
Published:  7/7/2010
Code:  vstipTool0049

 

Once you have created and organized your Bookmarks you will, naturally, want to navigate them.  Going to Edit -> Bookmarks you will get several options:

image

 

 

 

Let's take a look at each of these in turn:

 

[Next,Previous] Bookmark in Document -- allows you to restrict browsing to only those Bookmarks in the current open document independent of how they are organized in the Bookmarks Window.

 

So, even though I have tons of Bookmarks in different folders within the Bookmarks Window:

image

 

This option will only move between the Bookmarks in the current document ignoring any Bookmarks Window organization:

image

 

 

 

[Next,Previous] Bookmark in Folder -- allows you to restrict browsing to only those Bookmarks in the current folder in the Bookmarks Window independent of how they are arranged in the source code.

 

Pretty much the opposite of the previous feature, this feature ignores how the Bookmarks are organized in the source code and only moves within the Bookmarks in the current folder within the Bookmarks Window:

image

 

When you reach the last Bookmark in the folder:

image

 

It will loop back around to the first Bookmark in the current folder:

image

 

 

[Next,Previous] Bookmark - navigates between Bookmarks in the Bookmarks Window.  This feature is very similar to [Previous, Next] Bookmark In Folder and moves sequentially through Bookmarks:

image

 

The difference comes when you reach the last Bookmark in a folder.  Instead of looping back around to the first Bookmark in the folder this option will continue to the next folder and move sequentially through those Bookmarks as well (and so on.):

image

  • Good but when I close Visual Studio 2010 the bookmarks page number position is not saved and so when I reopen it they have the previous number position!!!

  • So...Joshua.  I think what you are saying is that it doesn't remember where you were last when you close and open Visual Studio?  I would expect that behavior but the beauty of bookmarks is, using naming and folders, you can quickly organize and find your way to just about anywhere.

  • Yes, when I open again Visual Studio it doesn't remember last bookmarks page numbers. So, really, if this is not a bug, the bookmarks are not so useful...

    also your VS version do that?

    P.S.

    I noticed that only one time when I reopened VS it has remembered the page numbers....so I think it is a bug.

    I try to post it to Visual Studio bug system....

  • I'm using VS2010. I spent ages setting up bookmarks but I lost them when I reopened Visual Studio. I agree with Joshua that this functionality is useful and frankly a big waste of my time if it cannot be saved.

  • Bookmarks do not adjust position when lines of code are added or deleted and so become detached from original positions and very quickly useless in an active solution

  • Ned,

    Sadly I have to agree. I wish it had been more fleshed out to provide additional functionality and ability to be more useful.

    Z

Page 1 of 1 (6 items)
Leave a Comment
  • Please add 2 and 6 and type the answer here:
  • Post