Using Bookmark in Visual Studio

No.of Views677
Bookmarked0 times
Downloads 
Votes0
By  Jana   On  15 Feb 2010 23:02:44
Tag : Visual Studios , How to
Using Bookmark in Visual Studio
emailbookmarkadd commentsprint

Images in this article missing? We recently lost them in a site migration. We're working to restore these as you read this. Should you need an image in an emergency, please contact us at info@codegain.com

 

Introduction

As name suggests, bookmarking speedup your code navigation in visual studio. There may be some portion of code where we need to move very frequently. Generally we scroll the page and move to that section, but Visual studio provides great features by which we can move to a particular section very quickly using some shortcut keys. This is called Bookmarking of Code.
Below are the set of Icons which are used to navigate the code using Bookmark.

BookMark1

How To Use

We can place the bookmark by clicking on Bookmark icon or using keys Ctrl + K, Ctrl + K. Below is the sample code where I have putted two bookmarks in different section of code.

BookMark2

Now we can easily navigate among those breakpoint using Ctrl + K, Ctrl + N for Next Bookmark and Ctrl + K , Ctrl + p for Previous mark. We can achieve the same using following toolbar icon.

BookMark3

This is very much easy to use and its give you very fast navigation throughout the code.

Using Bookmark Window:

Visual Studio provides you Bookmark window where you can get list of all bookmarked section.

BookMark4

Now, by selecting particular bookmark from the Bookmarks list we can easily move to the particular section.

BookMark5

Renaming BookMarks

For easy reference we can also rename bookmark so that we can easily identify them. This helps us to easily move to particular code block based on the name given. This is useful when we are having many bookmarks in the bookmark list.

BookMark6

As I have renamed my bookmark list as below

BookMark7

Summary

This may not be new to many of us, but it may helpful for some beginners. Using this features we can navingate our code very easily. Please provide your valuable suggestion and feedback.

Thank you

Jana

 
Sign Up to vote for this article
 
About Author
 
Jana
Occupation-Not Provided
Company-Not Provided
Member Type-Fresh
Location-Not Provided
Joined date-19 Jun 2009
Home Page-Not Provided
Blog Page-Not Provided
 
 
Other popularSectionarticles
Comments
There is no comments for this articles.
Leave a Reply
Title:
Display Name:
Email:
(not display in page for the security purphase)
Website:
Message:
Please refresh your screen using Ctrl+F5
If you can't read this number refresh your screen
Please input the anti-spam code that you can read in the image.
^ Scroll to Top