Visual Studio Tricks


Visual Studio (2005,2008,2010) Tips and Tricks.


#30 Bookmarks Usage + Change Visibility and Line Colors in Visual Studio

Toggling bookmarks are extremely helpful. You have to jump from file A to file B, over to file J, back to B, back to A. (Sound familiar to what you did today :) – Bookmarks are little popcorn nuggets you can leave along your trail to find your way back to where you once were quickly. Bookmarks are controlled from the Edit | Bookmarks menu, or fully from the keyboard. This video introduced you to bookmarks, and then shows you how to change the look/feel and visibility of the bookmarks.

Click Screenshot To Play Video

#30 Bookmarks Usage + Change Visibility and Line Colors in Visual Studio

Runtime: 1Min 43Seconds - Resolution: 900 by 580 - File Size: 2.5Meg

Direct Download: If the video does not work for you,
Click Here to download it.

Snippets / Notes:

[CTRL]+B,T = Toogle bookmark on or off

[CTRL]+B,P = Jump to Previous Bookmark

[CTRL]+B,N = Jump to Next Bookmark

[CTRL]+B,C = Clear all Bookmarks

Visual Studio Tip / Trick #030 English Transcription:

Today’s Visual Studio Trick of the day, trick no. 30 was originally posted by Sara Ford in text on September of 2007. Today’s trick actually has 3 parts. The first part is working with Bookmarks. You can see I've got a bookmark here in my indicator margin, so the keyboard shortcut for bookmark is [CTRL]+[B] and then [T] to toggle, which will either turn on or off the bookmark on the line that you are on. Then you can do [CTRL]+[B],[P] for previous, which will move to your previous bookmark or [CTRL]+[B],[N] , which will move to your next bookmark. Now this indicator margin takes up just a little bit of real estate and you can actually turn it off, which is the second trick. So under Tools | Options | Text Editor | General, you can turn off the indicator margin. And if you say ok, you will see that now the icon glyphs are gone. And the text is now color coded, which can also be changed. Now if you go to Tools | Options under Environment and Fonts and Colors, make sure that your show setting is set for Text Editor, then you can look at the bookmark, which currently has that light blue background, for demo I’ll just change that to yellow and now you can see that your lines have yellow background. [CTRL]+[B],[P] to previous will still [CTRL]+[B],[N] for next will also still work. And then incidentally on the Edit menu, under Bookmarks, there is an entire listing of different things you can do with the bookmarks in addition to the keyboard shortcuts that corresponds with those actions.
Kick this Trick on DotNetKicks.com

3 comment(s)

  1.  avatar

    its nice to have a website that helps us in our career thnkx 4 help us bye

    can u send me in my email more trics

    sincelrly fitim

  2.  avatar

    Hey Scott,

    You forgot to mention the View / Other Windows / Bookmark Window and the features it includes like seeing the file, line number, giving the bookmark a name, organizing them into folders and of course the browse features.

  3. admin avatar

    i'll add that to a new video to be created


RSS Feeds

All Technology Posts

Scott Cate Main Blog Feed


Visual Studio Tricks Only Feed

@ScottCate on Twitter

Facebook Profile

Twitter @ScottCate

  • 600,000,000 (yes 600 million) desktops and devices have #Silverlight Installed http://SC8.me/bCXTt6
  • The future of Silverlight with #HTML5 http://sc8.me/bCXTt6
  • My good friend walked into the casino this week and won a Brand New 2010 Camaro #FB
  • @ScottDotNetVet nice - everyone loves that temp project tip/trick #vs2010
  • PHX Free Entity Framework 4 Event 12:30-5, Sept15th http://sc8.me/9LqYo7

GetClicky Web Stats

Web Analytics