Is there a way to bookmark code in a Visual Studio project?

后端 未结 10 1574
既然无缘
既然无缘 2020-12-12 20:25

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

10条回答
  •  情书的邮戳
    2020-12-12 20:40

    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!)

提交回复
热议问题