In various projects there are certain parts I will keep jumping to. Is there a way to effectively \"bookmark\" these parts, so I can quickly jump back to a certain line in a
I too was looking for a better solution to this, having moved from the Delphi 7 IDE to Visual Studio 2010 recently. This comment wonders whether there might be a plug-in that does this and that directed me to the Extension Manager & a search for Bookmark brought up DPack.
I think this gives the OP exactly what he is looking for, particularly when taking this comment of his into account.
Note: Once installed I had to edit the keyboard mappings via Tools | Options | Environment | Keyboard
. I put DPack
into the Show commands containing
edit box, and then scrolled down to find the GoToBookmark[x]
and ToggleBookmark[x]
that were not working for me and assigned them using the Press shortcut keys
edit box. (Make a note of what the "Shortcut [is] currently being used by" before you do this, though; I wouldn't want you to overwrite a function that you don't realize you use extensively!)
With ReSharper, there's a more flexible way of making bookmarks and navigating to them.
You can press Ctrl + Shift + Number for example 3. And then refer to that by Ctrl + 3.
Visual Studio Bookmarks are a great productivity boost. Click on "View, Bookmarks" (Ctrl K, Ctrl W), you can group your Bookmarks by category - just create a folder, and drag related bookmarks into the folder. They can all be enabled/disabled with one click.
This comes in real handy if you are working on two or more sets of problems concurrently, and you don't want to be schlepping through Enhancement A's book marks while focusing on Bug B. Simply group each problem's set of bookmarks in their respective folders, and you can (de)activate them with one click.
Also, if there are certain places where you have to go back often, simply create a disabled bookmark, and jump directly there through the Bookmark window.
Here is an example:
Visual Studio named bookmarks
Yes, press the hotkey combination Ctrl + K + K (that's Ctrl and K, followed by another K) to toggle a bookmark.
Then you can do Ctrl + K + N for the next bookmark and Ctrl + K + P for the previous bookmark.
It works like a charm!
In Visual Studio 2017 it's
I could use the TODO feature, adding my own custom prefix of "BOOKMARK", or "BM" if I'm going to be lazy.
MSDN Documentation For Custom Tags