views:

687

answers:

7

I use Delphi for many years, and although I have now moved on to Visual Studio I still fondly remember numbered bookmarks (CTRL+K+1 to set bookmark 1, CRTL+Q+1 to goto bookmark 1).

Is there a Visual Studio equivalent? I'm find the dumb bookmarks in VS a chore after Delphi. I want to bookmark then return to a specific place in the file.

+5  A: 

Ctrl K + Ctrl K - Add/Remove Bookmark on Line
Ctrl K + Ctrl N - Go to Next Bookmark
Ctrl K + Ctrl P - Go to Previous Bookmark

There are other options as well. Look under Edit->Bookmarks menu,

Vaibhav
+1  A: 

I find this one also very useful: Ctrl K + Ctrk L - Clear alll bookmarks

Hershi
A: 

I use:

CTRL-F2        toggle bookmark
F2             next bookmark
SHIFT-F2       previous bookmark
CTRL-SHIFT-F2  clear all bookmarks

BTW, after using Visual Studio for years I just found about a couple of months ago that you can press ALT and drag mouse to mark a column or a square.

Peter Olsson
A: 

Thanks for the shortcuts people but I was after a plug in or some such that allowed me to number the bookmarks or identify them in some way and go directly to the one I'm interested in rather than having to step one by one through all the others.

Any ideas?

SteveChadbourne
+4  A: 

DPack can give you numbered bookmarks in VisualStudio.

Lars Truijens
A: 

Just to amplify Lars Truijens answer. DPack is a GExperts like plugin for visual studio. I found it great help when moving from the Delphi IDE to Visual Studio.

John Nolan
A: 

More a comment on your original question than an actual answer but Delphi has had much easier to remember (and type) keyboard shortcuts than what you quote available for quite some time now:

Set bookmark 1: Ctrl-Shift-1

Go to bookmark 1: Ctrl-1

If you ever go back to Delphi, this should make your life so much easier! ;)

Cheers,

Oliver

Oliver Giesen