David Williams

Who's sruffy looking?

  Home  |   Contact  |   Syndication    |   Login
  19 Posts | 0 Stories | 16 Comments | 0 Trackbacks

News



Twitter












Archives

Post Categories

Microsoft Development

One thing about the Visual Studio interface has often bothered me:  There is not a very good way to bookmark code - by that I mean the "bookmark" feature does not work very well.  Although I am able to set and clear bookmarks using the bookmarks toolbar in code, it does not highlight code in editor like Breakpoints do.  For that reason, I usually use breakpoints when working my way through code, and I wonder how many developers do the same.

Visual Studio Bookmarks

The VS Options Interface gives you the option to change the Fonts/Colors of the bookmarks by changing the background color of the custom text.  However in order to get this to work you have to remove disable the Indicator margin as explained in How to change a bookmark color?.  Although this is better this results in not being able to add and remove break points as easily. 

image 

By default (at least as my keyboard is setup) to set a breakpoint in this mode you have to use a function key (F9).  Setting and clearing bookmarks using the control keys seem a little awkward as well.  A bookmark is toggled by selecting ctrl-K, but you have to select it twice.  Scrolling between Bookmarks is done by selecting Ctrl-K, Ctrl-P and Ctrl-K, Ctrl-N.

In the big scheme of thing this is minor, but this is one of those items I wish was implemented better. 

  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati
posted on Monday, August 11, 2008 12:32 PM

Feedback

# re: Visual Studio Bookmarks - Enabling Bookmark highlighting 10/26/2010 12:37 AM firewall analyzer software
Visual Studio supports different programming languages by means of language services, which allow the code editor and debugger to support (to varying degrees) nearly any programming language, provided a language-specific service exists.

Post A Comment
Title:
Name:
Email:
Website:
Comment:
Verification: